[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
This commit is contained in:
@@ -105,7 +105,7 @@ bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
if (!is_keyboard_master())
|
||||
return OLED_ROTATION_180;
|
||||
@@ -117,5 +117,5 @@ const char *read_logo(void);
|
||||
void oled_task_user(void) {
|
||||
oled_write_ln(read_logo(), false);
|
||||
}
|
||||
#endif // OLED_DRIVER_ENABLE
|
||||
#endif // OLED_ENABLE
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
AUTO_SHIFT_ENABLE = no
|
||||
OLED_DRIVER_ENABLE= yes
|
||||
OLED_ENABLE= yes
|
||||
|
||||
EXTRAKEY_ENABLE = yes
|
||||
|
||||
SRC += ./lib/logo_reader.c
|
||||
SRC += ./lib/logo_reader.c
|
||||
# ./lib/keylogger.c \
|
||||
# ./lib/mode_icon_reader.c \
|
||||
# ./lib/timelogger.c \
|
||||
|
Reference in New Issue
Block a user