Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] add oled_task_kb() into keyboards/helix/rev2/rev2.c #16697

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

mtei
Copy link
Contributor

@mtei mtei commented Mar 20, 2022

Description

As with helix/rev3_Xrows, added code to display defaults if oled_task_user() is not defined at the keymap level.

@MakotoKurauchi, Helix/rev3 と同様に、keymap レベルで oled_task_user() が無いときにデフォルトの表示がされるように、oled_task_kb() を helix/rev2/rev2.c を追加しました。

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@mtei mtei requested a review from a team March 20, 2022 12:12
oled_write_P(led_state.num_lock ? PSTR("NUMLOCK") : PSTR(" "), false);
oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false);
oled_write_P(led_state.scroll_lock ? PSTR("SCLK") : PSTR(" "), false);
oled_write_P(PSTR("\n"), false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better:

Suggested change
oled_write_P(PSTR("\n"), false);
oled_advance_page(true);

@drashna drashna requested a review from a team March 20, 2022 19:18
@drashna drashna merged commit 7eb6f86 into qmk:master Mar 21, 2022
@mtei mtei deleted the add_oled_task_kb_into_helix_rev2 branch April 22, 2022 13:56
0xcharly pushed a commit to Bastardkb/bastardkb-qmk that referenced this pull request Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants