feat: encoder map, OLED & encoder kb-level config (#17809)

This commit is contained in:
Less/Rikki authored and GitHub committed 2022-07-28 01:56:37 +01:00
1 parent 1e745c48b6
commit e7affd0541
6 files changed
+113 -163

No files matched your search

@@ -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);