[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:
parent
6fd20acf4b
commit
4e1c5887c5
500 changed files with 1579 additions and 1387 deletions
|
@ -41,7 +41,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
```
|
||||
4. In your `rules.mk` to make it easier to turn the animation on/off, add
|
||||
```makefile
|
||||
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
|
||||
ifeq ($(strip $(OLED_ENABLE)), yes)
|
||||
#... your code here...
|
||||
|
||||
ifdef OCEAN_DREAM_ENABLE
|
||||
|
@ -59,7 +59,8 @@ endif
|
|||
|
||||
You're done! Now you can enable **Ocean Dream** by simply turning on the OLED feature
|
||||
```makefile
|
||||
OLED_DRIVER_ENABLE = yes
|
||||
OLED_ENABLE = yes
|
||||
OLED_DRIVER = SSD1306
|
||||
```
|
||||
|
||||
And if you want to disable it without turning off the OLED Driver you can simply set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue