Starting on integrating KLOR OLED

- Added default rotation
- need to review the screen to know what the hex code means
This commit is contained in:
Victor 2024-05-24 22:41:29 -05:00 committed by GitHub
parent 81b0596b0a
commit 1822862388
Failed to generate hash of commit

View file

@ -98,9 +98,7 @@ void render_oled_main(void) {
bool oled_task_user(void) {
if (is_keyboard_master()) {
render_oled_main(); // Renders the current keyboard state (layer, lock, caps, scroll, etc)
} else {
#if defined(KEYBOARD_barbellboards_rollow)
@ -121,14 +119,14 @@ bool oled_task_user(void) {
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
#if defined(KEYBOARD_klor_2040)
return OLED_ROTATION_0;
#else
if (is_keyboard_master()) {
return OLED_ROTATION_270;
} else {
return OLED_ROTATION_0;
return OLED_ROTATION_0;
}
#endif
}