[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 <[email protected]> Co-authored-by: mtei <[email protected]>
This commit is contained in:
500 files changed
+1579
-1387
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
# include QMK_KEYBOARD_H
|
||||
# include <stdio.h>
|
||||
# include <string.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
|
||||
void render_logo(void);
|
||||
|
||||
@@ -19,4 +19,4 @@ void render_led_status(void);
|
||||
# define UPDATE_LED_STATUS()
|
||||
# define RENDER_LED_STATUS(a)
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -64,7 +64,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
# include <stdio.h>
|
||||
# include <string.h>
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
OLED_DRIVER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
|
||||
SRC += ./common/oled_helper.c
|
||||
Reference in new issue
Block a user