1
0
Fork 0

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

This commit is contained in:
Less/Rikki 2022-07-27 20:56:37 -04:00 committed by GitHub
parent 1e745c48b6
commit e7affd0541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 113 additions and 163 deletions

View file

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