feat: encoder map, OLED & encoder kb-level config (#17809)
This commit is contained in:
parent
1e745c48b6
commit
e7affd0541
6 changed files with 113 additions and 163 deletions
|
@ -274,7 +274,7 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -296,6 +296,10 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
|
||||
#ifdef LANDSCAPE_MODE
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
return OLED_ROTATION_0; // do not flip the display
|
||||
}
|
||||
|
||||
bool oled_task_user(void) {
|
||||
|
||||
render_logo();
|
||||
|
@ -365,10 +369,6 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
|
|||
|
||||
// regular mode
|
||||
#ifndef LANDSCAPE_MODE
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
return OLED_ROTATION_270; // flips the display 270 degrees
|
||||
}
|
||||
|
||||
bool oled_task_user(void) {
|
||||
render_logo();
|
||||
oled_set_cursor(0,5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue