feat: encoder map, OLED & encoder kb-level config (#17809)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user