1
0
Fork 0

[Keymap] Drashna's Keymap Update - Display Edition (#9282)

OLED Display fixes
Add support for RGBLIGHT Layers
Add gaming layer to corn and kyria
RGBLight Startup Animation fixes and improvements (uses matrix_scan now!)
Pimoroni Trackball support added (IT'S RGB!!!)
Fix issues due to code changes
This commit is contained in:
Drashna Jael're 2020-06-15 03:41:28 -07:00 committed by GitHub
parent 7f5656996c
commit 357a888d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 332 additions and 188 deletions

View file

@ -121,7 +121,17 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
}
#ifdef OLED_DRIVER_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_270; }
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
# ifndef SPLIT_KEYBOARD
if (is_master) {
# endif
return OLED_ROTATION_270;
# ifndef SPLIT_KEYBOARD
} else {
return rotation;
}
# endif
}
#endif
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {