diff options
Diffstat (limited to 'keyboards/splitkb')
64 files changed, 177 insertions, 156 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/asapjockey/config.h b/keyboards/splitkb/kyria/keymaps/asapjockey/config.h index e878663bf..acb070359 100644 --- a/keyboards/splitkb/kyria/keymaps/asapjockey/config.h +++ b/keyboards/splitkb/kyria/keymaps/asapjockey/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
@@ -44,4 +44,4 @@ | |||
44 | #define EE_HANDS | 44 | #define EE_HANDS |
45 | 45 | ||
46 | // Allows media codes to properly register in macros and rotary encoder code | 46 | // Allows media codes to properly register in macros and rotary encoder code |
47 | #define TAP_CODE_DELAY 10 \ No newline at end of file | 47 | #define TAP_CODE_DELAY 10 |
diff --git a/keyboards/splitkb/kyria/keymaps/asapjockey/keymap.c b/keyboards/splitkb/kyria/keymaps/asapjockey/keymap.c index 9d0d2955e..8ba098eed 100644 --- a/keyboards/splitkb/kyria/keymaps/asapjockey/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/asapjockey/keymap.c | |||
@@ -184,7 +184,7 @@ void matrix_scan_user(void) { | |||
184 | } | 184 | } |
185 | } | 185 | } |
186 | 186 | ||
187 | #ifdef OLED_DRIVER_ENABLE | 187 | #ifdef OLED_ENABLE |
188 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 188 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
189 | return OLED_ROTATION_180; | 189 | return OLED_ROTATION_180; |
190 | } | 190 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/asapjockey/rules.mk b/keyboards/splitkb/kyria/keymaps/asapjockey/rules.mk index 9b8e29419..65b44a298 100644 --- a/keyboards/splitkb/kyria/keymaps/asapjockey/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/asapjockey/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enable the Leader Key feature | 5 | LEADER_ENABLE = yes # Enable the Leader Key feature |
diff --git a/keyboards/splitkb/kyria/keymaps/benji/config.h b/keyboards/splitkb/kyria/keymaps/benji/config.h index ebbcd1df8..8b29f9e13 100644 --- a/keyboards/splitkb/kyria/keymaps/benji/config.h +++ b/keyboards/splitkb/kyria/keymaps/benji/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #define OLED_FONT_H "keyboards/splitkb/kyria/keymaps/benji/glcdfont.c" | 21 | #define OLED_FONT_H "keyboards/splitkb/kyria/keymaps/benji/glcdfont.c" |
22 | #endif | 22 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/benji/keymap.c b/keyboards/splitkb/kyria/keymaps/benji/keymap.c index 2e3e2b1cf..a670b7761 100644 --- a/keyboards/splitkb/kyria/keymaps/benji/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/benji/keymap.c | |||
@@ -129,7 +129,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
129 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 129 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
130 | } | 130 | } |
131 | 131 | ||
132 | #ifdef OLED_DRIVER_ENABLE | 132 | #ifdef OLED_ENABLE |
133 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 133 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
134 | return OLED_ROTATION_180; | 134 | return OLED_ROTATION_180; |
135 | } | 135 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/benji/rules.mk b/keyboards/splitkb/kyria/keymaps/benji/rules.mk index e3486a8a9..35f8ec90c 100644 --- a/keyboards/splitkb/kyria/keymaps/benji/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/benji/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow \ No newline at end of file | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
diff --git a/keyboards/splitkb/kyria/keymaps/cjuniet/config.h b/keyboards/splitkb/kyria/keymaps/cjuniet/config.h index d5d9c23bf..8b63c1f58 100644 --- a/keyboards/splitkb/kyria/keymaps/cjuniet/config.h +++ b/keyboards/splitkb/kyria/keymaps/cjuniet/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #define OLED_FONT_H "users/cjuniet/glcdfont.c" | 21 | #define OLED_FONT_H "users/cjuniet/glcdfont.c" |
22 | #endif | 22 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/cjuniet/rules.mk b/keyboards/splitkb/kyria/keymaps/cjuniet/rules.mk index 9699ed810..71feb286d 100644 --- a/keyboards/splitkb/kyria/keymaps/cjuniet/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/cjuniet/rules.mk | |||
@@ -2,5 +2,6 @@ ENCODER_ENABLE = no | |||
2 | EXTRAKEY_ENABLE = yes | 2 | EXTRAKEY_ENABLE = yes |
3 | LEADER_ENABLE = yes | 3 | LEADER_ENABLE = yes |
4 | MOUSEKEY_ENABLE = yes | 4 | MOUSEKEY_ENABLE = yes |
5 | OLED_DRIVER_ENABLE = yes | 5 | OLED_ENABLE = yes |
6 | OLED_DRIVER = SSD1306 | ||
6 | RGBLIGHT_ENABLE = no | 7 | RGBLIGHT_ENABLE = no |
diff --git a/keyboards/splitkb/kyria/keymaps/corodiak/config.h b/keyboards/splitkb/kyria/keymaps/corodiak/config.h index eed94d055..3f031b69f 100644 --- a/keyboards/splitkb/kyria/keymaps/corodiak/config.h +++ b/keyboards/splitkb/kyria/keymaps/corodiak/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/corodiak/rules.mk b/keyboards/splitkb/kyria/keymaps/corodiak/rules.mk index da64c4ea5..59e2da986 100644 --- a/keyboards/splitkb/kyria/keymaps/corodiak/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/corodiak/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | # OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | # OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | # ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | # ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enables the Leader shortcut funtionality | 5 | LEADER_ENABLE = yes # Enables the Leader shortcut funtionality |
diff --git a/keyboards/splitkb/kyria/keymaps/cwebster2/config.h b/keyboards/splitkb/kyria/keymaps/cwebster2/config.h index 6a56d7ee9..09ca20b44 100644 --- a/keyboards/splitkb/kyria/keymaps/cwebster2/config.h +++ b/keyboards/splitkb/kyria/keymaps/cwebster2/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c b/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c index e6d8636e4..03759d2fb 100644 --- a/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/cwebster2/keymap.c | |||
@@ -242,7 +242,7 @@ bool led_update_user(led_t led_state) { | |||
242 | } | 242 | } |
243 | #endif | 243 | #endif |
244 | 244 | ||
245 | #ifdef OLED_DRIVER_ENABLE | 245 | #ifdef OLED_ENABLE |
246 | void suspend_power_down_user() { | 246 | void suspend_power_down_user() { |
247 | oled_clear(); | 247 | oled_clear(); |
248 | oled_off(); | 248 | oled_off(); |
diff --git a/keyboards/splitkb/kyria/keymaps/cwebster2/rules.mk b/keyboards/splitkb/kyria/keymaps/cwebster2/rules.mk index fe9ca3c2c..c126cda31 100644 --- a/keyboards/splitkb/kyria/keymaps/cwebster2/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/cwebster2/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
3 | RAW_ENABLE = yes | 4 | RAW_ENABLE = yes |
4 | WPM_ENABLE = yes | 5 | WPM_ENABLE = yes |
diff --git a/keyboards/splitkb/kyria/keymaps/default/rules.mk b/keyboards/splitkb/kyria/keymaps/default/rules.mk index 604e15465..35f8ec90c 100644 --- a/keyboards/splitkb/kyria/keymaps/default/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/default/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
diff --git a/keyboards/splitkb/kyria/keymaps/drashna/config.h b/keyboards/splitkb/kyria/keymaps/drashna/config.h index 8fec73950..8239e28cd 100644 --- a/keyboards/splitkb/kyria/keymaps/drashna/config.h +++ b/keyboards/splitkb/kyria/keymaps/drashna/config.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #define EE_HANDS | 19 | #define EE_HANDS |
20 | 20 | ||
21 | #ifdef OLED_DRIVER_ENABLE | 21 | #ifdef OLED_ENABLE |
22 | # define OLED_DISPLAY_128X64 | 22 | # define OLED_DISPLAY_128X64 |
23 | #endif | 23 | #endif |
24 | 24 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/drashna/keymap.c b/keyboards/splitkb/kyria/keymaps/drashna/keymap.c index d55110e97..2dc934644 100644 --- a/keyboards/splitkb/kyria/keymaps/drashna/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/drashna/keymap.c | |||
@@ -120,7 +120,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | |||
120 | #endif | 120 | #endif |
121 | // clang-format on | 121 | // clang-format on |
122 | 122 | ||
123 | #ifdef OLED_DRIVER_ENABLE | 123 | #ifdef OLED_ENABLE |
124 | oled_rotation_t oled_init_keymap(oled_rotation_t rotation) { return OLED_ROTATION_180; } | 124 | oled_rotation_t oled_init_keymap(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
125 | #endif | 125 | #endif |
126 | 126 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/drashna/rules.mk b/keyboards/splitkb/kyria/keymaps/drashna/rules.mk index 727efa128..ba273d7d3 100644 --- a/keyboards/splitkb/kyria/keymaps/drashna/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/drashna/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # ENables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | RGBLIGHT_STARTUP_ANIMATION = no | 5 | RGBLIGHT_STARTUP_ANIMATION = no |
diff --git a/keyboards/splitkb/kyria/keymaps/ghidalgo93/config.h b/keyboards/splitkb/kyria/keymaps/ghidalgo93/config.h index c46873c8e..89ec73f0a 100644 --- a/keyboards/splitkb/kyria/keymaps/ghidalgo93/config.h +++ b/keyboards/splitkb/kyria/keymaps/ghidalgo93/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/ghidalgo93/keymap.c b/keyboards/splitkb/kyria/keymaps/ghidalgo93/keymap.c index 1adbcc6ee..67881b03e 100644 --- a/keyboards/splitkb/kyria/keymaps/ghidalgo93/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/ghidalgo93/keymap.c | |||
@@ -152,7 +152,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
152 | } | 152 | } |
153 | 153 | ||
154 | 154 | ||
155 | #ifdef OLED_DRIVER_ENABLE | 155 | #ifdef OLED_ENABLE |
156 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 156 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
157 | return OLED_ROTATION_180; | 157 | return OLED_ROTATION_180; |
158 | } | 158 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/ghidalgo93/rules.mk b/keyboards/splitkb/kyria/keymaps/ghidalgo93/rules.mk index 449e3d950..d5d64865b 100644 --- a/keyboards/splitkb/kyria/keymaps/ghidalgo93/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/ghidalgo93/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
4 | AUTO_SHIFT_ENABLE = yes # Enable auto shift | 5 | AUTO_SHIFT_ENABLE = yes # Enable auto shift |
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/config.h b/keyboards/splitkb/kyria/keymaps/gotham/config.h index 1b84d996f..1b0ba183d 100644 --- a/keyboards/splitkb/kyria/keymaps/gotham/config.h +++ b/keyboards/splitkb/kyria/keymaps/gotham/config.h | |||
@@ -24,7 +24,7 @@ | |||
24 | // Speed up slave half startup | 24 | // Speed up slave half startup |
25 | #define SPLIT_USB_TIMEOUT 1000 | 25 | #define SPLIT_USB_TIMEOUT 1000 |
26 | 26 | ||
27 | #ifdef OLED_DRIVER_ENABLE | 27 | #ifdef OLED_ENABLE |
28 | # define OLED_DISPLAY_128X64 | 28 | # define OLED_DISPLAY_128X64 |
29 | # define OLED_TIMEOUT 10000 | 29 | # define OLED_TIMEOUT 10000 |
30 | #endif | 30 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c b/keyboards/splitkb/kyria/keymaps/gotham/keymap.c index a725e61fe..498e1c112 100644 --- a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/gotham/keymap.c | |||
@@ -22,7 +22,7 @@ | |||
22 | # include "encoder_utils.h" | 22 | # include "encoder_utils.h" |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifdef OLED_DRIVER_ENABLE | 25 | #ifdef OLED_ENABLE |
26 | # include "oled_utils.h" | 26 | # include "oled_utils.h" |
27 | #endif | 27 | #endif |
28 | 28 | ||
@@ -103,7 +103,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
103 | return true; | 103 | return true; |
104 | } | 104 | } |
105 | 105 | ||
106 | #ifdef OLED_DRIVER_ENABLE | 106 | #ifdef OLED_ENABLE |
107 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } | 107 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
108 | 108 | ||
109 | void oled_task_user(void) { render_status(); } | 109 | void oled_task_user(void) { render_status(); } |
@@ -113,12 +113,12 @@ void oled_task_user(void) { render_status(); } | |||
113 | bool encoder_update_user(uint8_t index, bool clockwise) { | 113 | bool encoder_update_user(uint8_t index, bool clockwise) { |
114 | if (index == 0) { | 114 | if (index == 0) { |
115 | encoder_action(get_encoder_mode(true), clockwise); | 115 | encoder_action(get_encoder_mode(true), clockwise); |
116 | # ifdef OLED_DRIVER_ENABLE | 116 | # ifdef OLED_ENABLE |
117 | oled_on(); | 117 | oled_on(); |
118 | # endif | 118 | # endif |
119 | } else if (index == 1) { | 119 | } else if (index == 1) { |
120 | encoder_action(get_encoder_mode(false), clockwise); | 120 | encoder_action(get_encoder_mode(false), clockwise); |
121 | # ifdef OLED_DRIVER_ENABLE | 121 | # ifdef OLED_ENABLE |
122 | oled_on(); | 122 | oled_on(); |
123 | # endif | 123 | # endif |
124 | } | 124 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/rules.mk b/keyboards/splitkb/kyria/keymaps/gotham/rules.mk index 0bd8badb4..81b7123ba 100644 --- a/keyboards/splitkb/kyria/keymaps/gotham/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/gotham/rules.mk | |||
@@ -2,14 +2,15 @@ CONSOLE_ENABLE = yes # Console for debug | |||
2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders | 2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | MOUSEKEY_ENABLE = no # Mouse keys | 4 | MOUSEKEY_ENABLE = no # Mouse keys |
5 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 5 | OLED_ENABLE = yes |
6 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
6 | THUMBSTICK_ENABLE = yes # Enables analog thumbstick code | 7 | THUMBSTICK_ENABLE = yes # Enables analog thumbstick code |
7 | 8 | ||
8 | ifeq ($(strip $(ENCODER_ENABLE)), yes) | 9 | ifeq ($(strip $(ENCODER_ENABLE)), yes) |
9 | SRC += encoder_utils.c | 10 | SRC += encoder_utils.c |
10 | endif | 11 | endif |
11 | 12 | ||
12 | ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes) | 13 | ifeq ($(strip $(OLED_ENABLE)), yes) |
13 | SRC += oled_utils.c | 14 | SRC += oled_utils.c |
14 | endif | 15 | endif |
15 | 16 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/j-inc/config.h b/keyboards/splitkb/kyria/keymaps/j-inc/config.h index 833fbe4bd..dc7d9610d 100644 --- a/keyboards/splitkb/kyria/keymaps/j-inc/config.h +++ b/keyboards/splitkb/kyria/keymaps/j-inc/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #define OLED_TIMEOUT 300000 | 21 | #define OLED_TIMEOUT 300000 |
22 | #endif | 22 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/j-inc/keymap.c b/keyboards/splitkb/kyria/keymaps/j-inc/keymap.c index 56eac4ddf..6121dd0f8 100644 --- a/keyboards/splitkb/kyria/keymaps/j-inc/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/j-inc/keymap.c | |||
@@ -156,7 +156,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
156 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 156 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
157 | } | 157 | } |
158 | 158 | ||
159 | #ifdef OLED_DRIVER_ENABLE | 159 | #ifdef OLED_ENABLE |
160 | 160 | ||
161 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 161 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
162 | return OLED_ROTATION_180; | 162 | return OLED_ROTATION_180; |
diff --git a/keyboards/splitkb/kyria/keymaps/j-inc/rules.mk b/keyboards/splitkb/kyria/keymaps/j-inc/rules.mk index df727572d..000c99502 100644 --- a/keyboards/splitkb/kyria/keymaps/j-inc/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/j-inc/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | RGBLIGHT_ANIMATIONS = yes | 5 | RGBLIGHT_ANIMATIONS = yes |
diff --git a/keyboards/splitkb/kyria/keymaps/jhelvy/config.h b/keyboards/splitkb/kyria/keymaps/jhelvy/config.h index 6dbc0dc1d..86f3d5b5c 100644 --- a/keyboards/splitkb/kyria/keymaps/jhelvy/config.h +++ b/keyboards/splitkb/kyria/keymaps/jhelvy/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/jhelvy/keymap.c b/keyboards/splitkb/kyria/keymaps/jhelvy/keymap.c index 371007eeb..a9c8db28d 100644 --- a/keyboards/splitkb/kyria/keymaps/jhelvy/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/jhelvy/keymap.c | |||
@@ -104,7 +104,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
104 | return true; | 104 | return true; |
105 | }; | 105 | }; |
106 | 106 | ||
107 | #ifdef OLED_DRIVER_ENABLE | 107 | #ifdef OLED_ENABLE |
108 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 108 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
109 | return OLED_ROTATION_180; | 109 | return OLED_ROTATION_180; |
110 | } | 110 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/jhelvy/rules.mk b/keyboards/splitkb/kyria/keymaps/jhelvy/rules.mk index ec4c65f70..a987a4ded 100644 --- a/keyboards/splitkb/kyria/keymaps/jhelvy/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/jhelvy/rules.mk | |||
@@ -1,5 +1,6 @@ | |||
1 | AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key | 1 | AUTO_SHIFT_ENABLE = yes # Autoshift by holding down a key |
2 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 2 | OLED_ENABLE = yes |
3 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 4 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
4 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 5 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
5 | LEADER_ENABLE = no # Enable the Leader Key feature | 6 | LEADER_ENABLE = no # Enable the Leader Key feature |
diff --git a/keyboards/splitkb/kyria/keymaps/kejadlen/config.h b/keyboards/splitkb/kyria/keymaps/kejadlen/config.h index 3c0951f11..673bcc778 100644 --- a/keyboards/splitkb/kyria/keymaps/kejadlen/config.h +++ b/keyboards/splitkb/kyria/keymaps/kejadlen/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk b/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk index 35ba17e4a..e11b7e936 100644 --- a/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/kejadlen/rules.mk | |||
@@ -1,4 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = no # Enables the use of OLED displays | 1 | OLED_ENABLE = no # Enables the use of OLED displays |
2 | ENCODER_ENABLE = no # Enables the use of one or more encoders | 2 | ENCODER_ENABLE = no # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = no # Enable the Leader Key feature | 4 | LEADER_ENABLE = no # Enable the Leader Key feature |
diff --git a/keyboards/splitkb/kyria/keymaps/mattir/config.h b/keyboards/splitkb/kyria/keymaps/mattir/config.h index 2c71428a9..b65ceee40 100644 --- a/keyboards/splitkb/kyria/keymaps/mattir/config.h +++ b/keyboards/splitkb/kyria/keymaps/mattir/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | # define OLED_DISPLAY_128X64 | 20 | # define OLED_DISPLAY_128X64 |
21 | # define OLED_TIMEOUT 300000 | 21 | # define OLED_TIMEOUT 300000 |
22 | # define OLED_UPDATE_INTERVAL 30 | 22 | # define OLED_UPDATE_INTERVAL 30 |
diff --git a/keyboards/splitkb/kyria/keymaps/mattir/keymap.c b/keyboards/splitkb/kyria/keymaps/mattir/keymap.c index 0ee0f3d85..89efaec55 100644 --- a/keyboards/splitkb/kyria/keymaps/mattir/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/mattir/keymap.c | |||
@@ -82,7 +82,7 @@ void matrix_scan_user(void) { | |||
82 | } | 82 | } |
83 | } | 83 | } |
84 | 84 | ||
85 | #ifdef OLED_DRIVER_ENABLE | 85 | #ifdef OLED_ENABLE |
86 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 86 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
87 | return OLED_ROTATION_180; | 87 | return OLED_ROTATION_180; |
88 | } | 88 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/mattir/rules.mk b/keyboards/splitkb/kyria/keymaps/mattir/rules.mk index 4f5e31be1..9d1a91831 100644 --- a/keyboards/splitkb/kyria/keymaps/mattir/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/mattir/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enables the use of the leader key | 5 | LEADER_ENABLE = yes # Enables the use of the leader key |
diff --git a/keyboards/splitkb/kyria/keymaps/mattir2/rules.mk b/keyboards/splitkb/kyria/keymaps/mattir2/rules.mk index cc5ae236f..d51a30bfe 100644 --- a/keyboards/splitkb/kyria/keymaps/mattir2/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/mattir2/rules.mk | |||
@@ -1,4 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = no # Enables the use of OLED displays | 1 | OLED_ENABLE = no # Enables the use of OLED displays |
2 | ENCODER_ENABLE = no # Enables the use of one or more encoders | 2 | ENCODER_ENABLE = no # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enables the use of the leader key | 4 | LEADER_ENABLE = yes # Enables the use of the leader key |
diff --git a/keyboards/splitkb/kyria/keymaps/ninjonas/config.h b/keyboards/splitkb/kyria/keymaps/ninjonas/config.h index 5673e6c3d..11525a577 100644 --- a/keyboards/splitkb/kyria/keymaps/ninjonas/config.h +++ b/keyboards/splitkb/kyria/keymaps/ninjonas/config.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #define TAPPING_TERM 200 | 19 | #define TAPPING_TERM 200 |
20 | 20 | ||
21 | #ifdef OLED_DRIVER_ENABLE | 21 | #ifdef OLED_ENABLE |
22 | #define OLED_DISPLAY_128X64 | 22 | #define OLED_DISPLAY_128X64 |
23 | #define OLED_TIMEOUT 15000 | 23 | #define OLED_TIMEOUT 15000 |
24 | #endif | 24 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/ninjonas/oled.c b/keyboards/splitkb/kyria/keymaps/ninjonas/oled.c index 65976205b..216f47534 100644 --- a/keyboards/splitkb/kyria/keymaps/ninjonas/oled.c +++ b/keyboards/splitkb/kyria/keymaps/ninjonas/oled.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "ninjonas.h" | 16 | #include "ninjonas.h" |
17 | 17 | ||
18 | #ifdef OLED_DRIVER_ENABLE | 18 | #ifdef OLED_ENABLE |
19 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } | 19 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
20 | 20 | ||
21 | static void render_logo(void) { | 21 | static void render_logo(void) { |
@@ -24,69 +24,69 @@ static void render_logo(void) { | |||
24 | // Image Dimensions: 128x64 | 24 | // Image Dimensions: 128x64 |
25 | // Code Output Format: Plain Bytes | 25 | // Code Output Format: Plain Bytes |
26 | // Draw Mode: Vertical, 1 bit per pixel | 26 | // Draw Mode: Vertical, 1 bit per pixel |
27 | 0x00, 0x00, 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0xc0, 0x00, 0x00, 0xe0, | 27 | 0x00, 0x00, 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0xc0, 0x00, 0x00, 0xe0, |
28 | 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x80, 0xe0, 0xe0, 0xe0, 0xe0, 0x80, 0x00, 0x00, 0xe0, 0xe0, 0xe0, | 28 | 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x80, 0xe0, 0xe0, 0xe0, 0xe0, 0x80, 0x00, 0x00, 0xe0, 0xe0, 0xe0, |
29 | 0xe0, 0x00, 0x60, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0x80, 0x00, 0x00, | 29 | 0xe0, 0x00, 0x60, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, 0xe0, 0x80, 0x00, 0x00, |
30 | 0xc0, 0xe0, 0xe0, 0xe0, 0x20, 0x60, 0xe0, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, | 30 | 0xc0, 0xe0, 0xe0, 0xe0, 0x20, 0x60, 0xe0, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0xe0, 0xe0, |
31 | 0xe0, 0x00, 0x00, 0xc0, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0xc0, 0x00, 0x00, 0x00, | 31 | 0xe0, 0x00, 0x00, 0xc0, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0xc0, 0x00, 0x00, 0x00, |
32 | 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, 0x00, 0xe0, 0xe0, 0xfc, 0xfe, | 32 | 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, 0x00, 0xe0, 0xe0, 0xfc, 0xfe, |
33 | 0xfe, 0xfe, 0xee, 0xee, 0x0e, 0x80, 0xc0, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, | 33 | 0xfe, 0xfe, 0xee, 0xee, 0x0e, 0x80, 0xc0, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, |
34 | 0x00, 0x00, 0x00, 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, 0x00, 0x00, | 34 | 0x00, 0x00, 0x00, 0x80, 0xc0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xe0, 0xc0, 0x80, 0x00, 0x00, |
35 | 0x00, 0x00, 0x79, 0xfd, 0xfd, 0xfd, 0xec, 0xee, 0x76, 0x7f, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, | 35 | 0x00, 0x00, 0x79, 0xfd, 0xfd, 0xfd, 0xec, 0xee, 0x76, 0x7f, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, |
36 | 0x07, 0x3f, 0xff, 0xfc, 0xf8, 0xff, 0x7f, 0x07, 0x0f, 0x7f, 0xff, 0xf8, 0xfc, 0xff, 0x3f, 0x07, | 36 | 0x07, 0x3f, 0xff, 0xfc, 0xf8, 0xff, 0x7f, 0x07, 0x0f, 0x7f, 0xff, 0xf8, 0xfc, 0xff, 0x3f, 0x07, |
37 | 0x00, 0x00, 0x00, 0x03, 0x1f, 0xff, 0xfe, 0xf0, 0xff, 0x7f, 0x0f, 0x07, 0x3f, 0xff, 0xfc, 0xf8, | 37 | 0x00, 0x00, 0x00, 0x03, 0x1f, 0xff, 0xfe, 0xf0, 0xff, 0x7f, 0x0f, 0x07, 0x3f, 0xff, 0xfc, 0xf8, |
38 | 0xff, 0x7f, 0x0f, 0x01, 0x00, 0x00, 0x01, 0x0f, 0x3f, 0xff, 0xfe, 0xf8, 0xff, 0xff, 0x1f, 0x03, | 38 | 0xff, 0x7f, 0x0f, 0x01, 0x00, 0x00, 0x01, 0x0f, 0x3f, 0xff, 0xfe, 0xf8, 0xff, 0xff, 0x1f, 0x03, |
39 | 0x00, 0x00, 0x1f, 0x7f, 0x7f, 0xff, 0xf6, 0xe6, 0xe6, 0xf7, 0xf7, 0x77, 0x37, 0x17, 0x00, 0x30, | 39 | 0x00, 0x00, 0x1f, 0x7f, 0x7f, 0xff, 0xf6, 0xe6, 0xe6, 0xf7, 0xf7, 0x77, 0x37, 0x17, 0x00, 0x30, |
40 | 0x79, 0xfd, 0xfd, 0xfd, 0xee, 0xee, 0x76, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, | 40 | 0x79, 0xfd, 0xfd, 0xfd, 0xee, 0xee, 0x76, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, |
41 | 0xff, 0xff, 0x00, 0x00, 0x00, 0x3f, 0x7f, 0x7f, 0xff, 0xf1, 0xe0, 0xe0, 0xff, 0xff, 0x7f, 0x3f, | 41 | 0xff, 0xff, 0x00, 0x00, 0x00, 0x3f, 0x7f, 0x7f, 0xff, 0xf1, 0xe0, 0xe0, 0xff, 0xff, 0x7f, 0x3f, |
42 | 0x0e, 0x00, 0x0e, 0x3f, 0x7f, 0xff, 0xff, 0xe0, 0xe0, 0xe1, 0xff, 0x7f, 0x7f, 0x3f, 0x04, 0x00, | 42 | 0x0e, 0x00, 0x0e, 0x3f, 0x7f, 0xff, 0xff, 0xe0, 0xe0, 0xe1, 0xff, 0x7f, 0x7f, 0x3f, 0x04, 0x00, |
43 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 43 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
44 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 44 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
45 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, | 45 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, |
46 | 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x0e, 0x0e, 0x0f, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, | 46 | 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x0e, 0x0e, 0x0f, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, |
47 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 47 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
48 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 48 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
49 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 49 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
50 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | 50 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
51 | 0x00, 0x0c, 0x3c, 0xfc, 0xfc, 0xfc, 0xc0, 0x00, 0xe0, 0xfc, 0xfc, 0x7c, 0x1c, 0x00, 0xf0, 0xf8, | 51 | 0x00, 0x0c, 0x3c, 0xfc, 0xfc, 0xfc, 0xc0, 0x00, 0xe0, 0xfc, 0xfc, 0x7c, 0x1c, 0x00, 0xf0, 0xf8, |
52 | 0xf8, 0xfc, 0xdc, 0xdc, 0xdc, 0xfc, 0xfc, 0xf8, 0xf0, 0xe0, 0x00, 0x00, 0x30, 0xb8, 0xbc, 0xbc, | 52 | 0xf8, 0xfc, 0xdc, 0xdc, 0xdc, 0xfc, 0xfc, 0xf8, 0xf0, 0xe0, 0x00, 0x00, 0x30, 0xb8, 0xbc, 0xbc, |
53 | 0xdc, 0xdc, 0xdc, 0xfc, 0xfc, 0xf8, 0xf0, 0x00, 0x1c, 0x1c, 0xff, 0xff, 0xff, 0xff, 0x1d, 0x1d, | 53 | 0xdc, 0xdc, 0xdc, 0xfc, 0xfc, 0xf8, 0xf0, 0x00, 0x1c, 0x1c, 0xff, 0xff, 0xff, 0xff, 0x1d, 0x1d, |
54 | 0x00, 0xf0, 0xf8, 0xf8, 0xfc, 0x3c, 0x1c, 0x1c, 0xfc, 0xfc, 0xf8, 0xf0, 0xc0, 0x00, 0xe0, 0xf0, | 54 | 0x00, 0xf0, 0xf8, 0xf8, 0xfc, 0x3c, 0x1c, 0x1c, 0xfc, 0xfc, 0xf8, 0xf0, 0xc0, 0x00, 0xe0, 0xf0, |
55 | 0xf8, 0xfc, 0x3c, 0x1c, 0x1c, 0x3c, 0xfc, 0xf8, 0xf8, 0xe0, 0x00, 0x00, 0x20, 0xb8, 0xbc, 0xbc, | 55 | 0xf8, 0xfc, 0x3c, 0x1c, 0x1c, 0x3c, 0xfc, 0xf8, 0xf8, 0xe0, 0x00, 0x00, 0x20, 0xb8, 0xbc, 0xbc, |
56 | 0xbc, 0xdc, 0xdc, 0xfc, 0xfc, 0xfc, 0xf8, 0xe0, 0x00, 0x0c, 0x7c, 0xfc, 0xfc, 0xc0, 0x00, 0xe0, | 56 | 0xbc, 0xdc, 0xdc, 0xfc, 0xfc, 0xfc, 0xf8, 0xe0, 0x00, 0x0c, 0x7c, 0xfc, 0xfc, 0xc0, 0x00, 0xe0, |
57 | 0xfc, 0xfc, 0xfc, 0xfc, 0xf0, 0x80, 0x00, 0xf8, 0xfc, 0xfc, 0x3c, 0x04, 0x0c, 0x7c, 0xfc, 0xfc, | 57 | 0xfc, 0xfc, 0xfc, 0xfc, 0xf0, 0x80, 0x00, 0xf8, 0xfc, 0xfc, 0x3c, 0x04, 0x0c, 0x7c, 0xfc, 0xfc, |
58 | 0xf0, 0x00, 0xc0, 0xfc, 0xfc, 0x7c, 0xfc, 0xf8, 0xc0, 0x00, 0xf0, 0xfc, 0xfc, 0x7c, 0x0c, 0x00, | 58 | 0xf0, 0x00, 0xc0, 0xfc, 0xfc, 0x7c, 0xfc, 0xf8, 0xc0, 0x00, 0xf0, 0xfc, 0xfc, 0x7c, 0x0c, 0x00, |
59 | 0x00, 0x00, 0xc0, 0xc1, 0xc7, 0xff, 0xff, 0xff, 0x7f, 0x1f, 0x03, 0x00, 0x00, 0x00, 0x07, 0x0f, | 59 | 0x00, 0x00, 0xc0, 0xc1, 0xc7, 0xff, 0xff, 0xff, 0x7f, 0x1f, 0x03, 0x00, 0x00, 0x00, 0x07, 0x0f, |
60 | 0x1f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1e, 0x1e, 0x0e, 0x06, 0x00, 0x00, 0x06, 0x0f, 0x1f, 0x1f, 0x1f, | 60 | 0x1f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1e, 0x1e, 0x0e, 0x06, 0x00, 0x00, 0x06, 0x0f, 0x1f, 0x1f, 0x1f, |
61 | 0x1d, 0x1d, 0x0e, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, | 61 | 0x1d, 0x1d, 0x0e, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, |
62 | 0x00, 0x07, 0x0f, 0x0f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1f, 0x1f, 0x0f, 0x07, 0x01, 0x00, 0x03, 0x07, | 62 | 0x00, 0x07, 0x0f, 0x0f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1f, 0x1f, 0x0f, 0x07, 0x01, 0x00, 0x03, 0x07, |
63 | 0x0f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1e, 0x1f, 0x0f, 0x0f, 0x03, 0x00, 0x00, 0x0f, 0x1f, 0x1f, 0x1f, | 63 | 0x0f, 0x1f, 0x1e, 0x1c, 0x1c, 0x1e, 0x1f, 0x0f, 0x0f, 0x03, 0x00, 0x00, 0x0f, 0x1f, 0x1f, 0x1f, |
64 | 0x1d, 0x1d, 0x0c, 0x0f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x03, 0x1f, 0x1f, 0x1e, 0x1f, | 64 | 0x1d, 0x1d, 0x0c, 0x0f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x03, 0x1f, 0x1f, 0x1e, 0x1f, |
65 | 0x0f, 0x01, 0x00, 0x07, 0x1f, 0x1f, 0x1f, 0x1f, 0x0f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0f, | 65 | 0x0f, 0x01, 0x00, 0x07, 0x1f, 0x1f, 0x1f, 0x1f, 0x0f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0f, |
66 | 0x1f, 0x1e, 0x1f, 0x1f, 0x03, 0x00, 0x03, 0x1f, 0x1f, 0x1e, 0x1f, 0x0f, 0x01, 0x00, 0x00, 0x00, | 66 | 0x1f, 0x1e, 0x1f, 0x1f, 0x03, 0x00, 0x03, 0x1f, 0x1f, 0x1e, 0x1f, 0x0f, 0x01, 0x00, 0x00, 0x00, |
67 | 0x00, 0x80, 0xc1, 0xf1, 0xf9, 0xf9, 0xf9, 0xb8, 0xb8, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, | 67 | 0x00, 0x80, 0xc1, 0xf1, 0xf9, 0xf9, 0xf9, 0xb8, 0xb8, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, |
68 | 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, | 68 | 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, |
69 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, | 69 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, |
70 | 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, | 70 | 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, |
71 | 0x80, 0x80, 0x80, 0x80, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, | 71 | 0x80, 0x80, 0x80, 0x80, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, |
72 | 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, | 72 | 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, |
73 | 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, | 73 | 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, |
74 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, | 74 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, |
75 | 0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03, 0x03, 0x7c, 0xfe, 0xff, 0xff, 0xc7, 0x83, 0x83, | 75 | 0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03, 0x03, 0x7c, 0xfe, 0xff, 0xff, 0xc7, 0x83, 0x83, |
76 | 0xc7, 0xff, 0xff, 0xff, 0x7c, 0x00, 0x00, 0x7c, 0xff, 0xff, 0xff, 0xc7, 0x83, 0x83, 0xc7, 0xff, | 76 | 0xc7, 0xff, 0xff, 0xff, 0x7c, 0x00, 0x00, 0x7c, 0xff, 0xff, 0xff, 0xc7, 0x83, 0x83, 0xc7, 0xff, |
77 | 0xff, 0xfe, 0x7c, 0x00, 0xc0, 0xe6, 0xf7, 0xf7, 0xf7, 0xbb, 0xbb, 0xdb, 0xff, 0xff, 0xff, 0xfe, | 77 | 0xff, 0xfe, 0x7c, 0x00, 0xc0, 0xe6, 0xf7, 0xf7, 0xf7, 0xbb, 0xbb, 0xdb, 0xff, 0xff, 0xff, 0xfe, |
78 | 0x00, 0x00, 0x03, 0x1f, 0xff, 0xff, 0xf0, 0xe0, 0xfe, 0xff, 0x1f, 0x3f, 0xff, 0xfe, 0xe0, 0xf0, | 78 | 0x00, 0x00, 0x03, 0x1f, 0xff, 0xff, 0xf0, 0xe0, 0xfe, 0xff, 0x1f, 0x3f, 0xff, 0xfe, 0xe0, 0xf0, |
79 | 0xff, 0xff, 0x1f, 0x03, 0x00, 0x01, 0x0f, 0x7f, 0xff, 0xf8, 0xc0, 0xfc, 0xff, 0x3f, 0x1f, 0xff, | 79 | 0xff, 0xff, 0x1f, 0x03, 0x00, 0x01, 0x0f, 0x7f, 0xff, 0xf8, 0xc0, 0xfc, 0xff, 0x3f, 0x1f, 0xff, |
80 | 0xfe, 0xf0, 0xe0, 0xff, 0xff, 0x3f, 0x07, 0x00, 0x01, 0x07, 0x3f, 0xff, 0xff, 0xf8, 0xe0, 0xfc, | 80 | 0xfe, 0xf0, 0xe0, 0xff, 0xff, 0x3f, 0x07, 0x00, 0x01, 0x07, 0x3f, 0xff, 0xff, 0xf8, 0xe0, 0xfc, |
81 | 0xff, 0x7f, 0x0f, 0x03, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xdb, 0x9b, 0x9b, 0xdf, 0xdf, 0xdf, 0xde, | 81 | 0xff, 0x7f, 0x0f, 0x03, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xdb, 0x9b, 0x9b, 0xdf, 0xdf, 0xdf, 0xde, |
82 | 0x1c, 0x00, 0xc0, 0xe6, 0xf7, 0xf7, 0xf7, 0xbb, 0xbb, 0xdb, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, | 82 | 0x1c, 0x00, 0xc0, 0xe6, 0xf7, 0xf7, 0xf7, 0xbb, 0xbb, 0xdb, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, |
83 | 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, | 83 | 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, |
84 | 0x03, 0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, | 84 | 0x03, 0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, |
85 | 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, | 85 | 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, |
86 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, | 86 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, |
87 | 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, | 87 | 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, |
88 | 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x38, 0x38, 0x38, 0x3f, 0x3f, 0x1f, 0x0f, | 88 | 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x38, 0x38, 0x38, 0x3f, 0x3f, 0x1f, 0x0f, |
89 | 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, | 89 | 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x00, |
90 | 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00 | 90 | 0x00, 0x00, 0x00, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00 |
91 | }; | 91 | }; |
92 | oled_write_raw_P(logo, sizeof(logo)); | 92 | oled_write_raw_P(logo, sizeof(logo)); |
@@ -125,32 +125,32 @@ void render_layout_state(void) { | |||
125 | oled_write_ln_P(PSTR("Undefined"), false); | 125 | oled_write_ln_P(PSTR("Undefined"), false); |
126 | } | 126 | } |
127 | } | 127 | } |
128 | #ifdef ENCODER_ENABLE | 128 | #ifdef ENCODER_ENABLE |
129 | static void render_encoder_state(void) { | 129 | static void render_encoder_state(void) { |
130 | oled_write_P(PSTR("\nEnc: "), false); | 130 | oled_write_P(PSTR("\nEnc: "), false); |
131 | bool lower = layer_state_is(_LOWER) & !layer_state_is(_ADJUST); | 131 | bool lower = layer_state_is(_LOWER) & !layer_state_is(_ADJUST); |
132 | bool raise = layer_state_is(_RAISE) & !layer_state_is(_ADJUST); | 132 | bool raise = layer_state_is(_RAISE) & !layer_state_is(_ADJUST); |
133 | bool adjust = layer_state_is(_ADJUST); | 133 | bool adjust = layer_state_is(_ADJUST); |
134 | 134 | ||
135 | if(lower){ | 135 | if(lower){ |
136 | oled_write_P(PSTR("APPSW"), left_encoder_rotated); | 136 | oled_write_P(PSTR("APPSW"), left_encoder_rotated); |
137 | oled_slash_separator(); | 137 | oled_slash_separator(); |
138 | oled_write_P(PSTR("UPDN"), right_encoder_rotated); | 138 | oled_write_P(PSTR("UPDN"), right_encoder_rotated); |
139 | } else if(raise){ | 139 | } else if(raise){ |
140 | oled_write_P(PSTR("PGUD"), left_encoder_rotated); | 140 | oled_write_P(PSTR("PGUD"), left_encoder_rotated); |
141 | oled_slash_separator(); | 141 | oled_slash_separator(); |
142 | oled_write_P(PSTR("TABSW"), right_encoder_rotated); | 142 | oled_write_P(PSTR("TABSW"), right_encoder_rotated); |
143 | } else if(adjust){ | 143 | } else if(adjust){ |
144 | oled_write_P(PSTR("RHUE"), left_encoder_rotated); | 144 | oled_write_P(PSTR("RHUE"), left_encoder_rotated); |
145 | oled_slash_separator(); | 145 | oled_slash_separator(); |
146 | oled_write_P(PSTR("RBRI"), right_encoder_rotated); | 146 | oled_write_P(PSTR("RBRI"), right_encoder_rotated); |
147 | } else { | 147 | } else { |
148 | oled_write_P(PSTR("BRI"), left_encoder_rotated); | 148 | oled_write_P(PSTR("BRI"), left_encoder_rotated); |
149 | oled_slash_separator(); | 149 | oled_slash_separator(); |
150 | oled_write_P(PSTR("VOL"), right_encoder_rotated); | 150 | oled_write_P(PSTR("VOL"), right_encoder_rotated); |
151 | } | 151 | } |
152 | 152 | ||
153 | if (timer_elapsed(encoder_rotated_timer) > 200) { | 153 | if (timer_elapsed(encoder_rotated_timer) > 200) { |
154 | left_encoder_rotated = false; | 154 | left_encoder_rotated = false; |
155 | right_encoder_rotated = false; | 155 | right_encoder_rotated = false; |
156 | } | 156 | } |
@@ -164,16 +164,16 @@ static void render_layer_state(void) { | |||
164 | bool adjust = layer_state_is(_ADJUST); | 164 | bool adjust = layer_state_is(_ADJUST); |
165 | bool numpad = layer_state_is(_NUMPAD); | 165 | bool numpad = layer_state_is(_NUMPAD); |
166 | 166 | ||
167 | if(lower){ | 167 | if(lower){ |
168 | oled_write_P(PSTR(" Lower "), true); | 168 | oled_write_P(PSTR(" Lower "), true); |
169 | } else if(raise){ | 169 | } else if(raise){ |
170 | oled_write_P(PSTR(" Raise "), true); | 170 | oled_write_P(PSTR(" Raise "), true); |
171 | } else if(adjust){ | 171 | } else if(adjust){ |
172 | oled_write_P(PSTR(" Adjust "), true); | 172 | oled_write_P(PSTR(" Adjust "), true); |
173 | } else if(numpad) { | 173 | } else if(numpad) { |
174 | oled_write_P(PSTR(" Numpad "), true); | 174 | oled_write_P(PSTR(" Numpad "), true); |
175 | } else { | 175 | } else { |
176 | oled_write_P(PSTR(" Default"), false); | 176 | oled_write_P(PSTR(" Default"), false); |
177 | } | 177 | } |
178 | } | 178 | } |
179 | 179 | ||
@@ -191,7 +191,7 @@ void render_mod_state(uint8_t modifiers) { | |||
191 | static void render_status(void) { | 191 | static void render_status(void) { |
192 | render_qmk_logo(); | 192 | render_qmk_logo(); |
193 | render_layout_state(); | 193 | render_layout_state(); |
194 | #ifdef ENCODER_ENABLE | 194 | #ifdef ENCODER_ENABLE |
195 | render_encoder_state(); | 195 | render_encoder_state(); |
196 | #endif | 196 | #endif |
197 | render_layer_state(); | 197 | render_layer_state(); |
@@ -206,4 +206,4 @@ void oled_task_user(void) { | |||
206 | oled_scroll_left(); | 206 | oled_scroll_left(); |
207 | } | 207 | } |
208 | } | 208 | } |
209 | #endif \ No newline at end of file | 209 | #endif |
diff --git a/keyboards/splitkb/kyria/keymaps/ninjonas/rules.mk b/keyboards/splitkb/kyria/keymaps/ninjonas/rules.mk index 94c06b80e..1931861ca 100644 --- a/keyboards/splitkb/kyria/keymaps/ninjonas/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/ninjonas/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LTO_ENABLE = yes | 5 | LTO_ENABLE = yes |
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/config.h b/keyboards/splitkb/kyria/keymaps/pierrec83/config.h index eb222c0d7..8bd27105e 100644 --- a/keyboards/splitkb/kyria/keymaps/pierrec83/config.h +++ b/keyboards/splitkb/kyria/keymaps/pierrec83/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk b/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk index 78f0ac93f..fbccedd56 100644 --- a/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/pierrec83/rules.mk | |||
@@ -1,4 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = no # Enables the use of OLED displays | 1 | OLED_ENABLE = no # Enables the use of OLED displays |
2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders | 2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | 4 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/plattfot/config.h b/keyboards/splitkb/kyria/keymaps/plattfot/config.h index 5ec5fc584..bb13d365f 100644 --- a/keyboards/splitkb/kyria/keymaps/plattfot/config.h +++ b/keyboards/splitkb/kyria/keymaps/plattfot/config.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #pragma once | 18 | #pragma once |
19 | 19 | ||
20 | #ifdef OLED_DRIVER_ENABLE | 20 | #ifdef OLED_ENABLE |
21 | #define OLED_DISPLAY_128X64 | 21 | #define OLED_DISPLAY_128X64 |
22 | #endif | 22 | #endif |
23 | 23 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c b/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c index 78e30c156..8b4b0c263 100644 --- a/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c | |||
@@ -259,7 +259,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
259 | 259 | ||
260 | //layer_state_t layer_state_set_user(layer_state_t state) { return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } | 260 | //layer_state_t layer_state_set_user(layer_state_t state) { return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } |
261 | 261 | ||
262 | #ifdef OLED_DRIVER_ENABLE | 262 | #ifdef OLED_ENABLE |
263 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } | 263 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
264 | 264 | ||
265 | // clang-format off | 265 | // clang-format off |
diff --git a/keyboards/splitkb/kyria/keymaps/plattfot/rules.mk b/keyboards/splitkb/kyria/keymaps/plattfot/rules.mk index 412546d09..4d148481c 100644 --- a/keyboards/splitkb/kyria/keymaps/plattfot/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/plattfot/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enable the Leader Key feature | 5 | LEADER_ENABLE = yes # Enable the Leader Key feature |
diff --git a/keyboards/splitkb/kyria/keymaps/rmw/config.h b/keyboards/splitkb/kyria/keymaps/rmw/config.h index 02e5087b3..57f252263 100644 --- a/keyboards/splitkb/kyria/keymaps/rmw/config.h +++ b/keyboards/splitkb/kyria/keymaps/rmw/config.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #define MACOSX | 19 | #define MACOSX |
20 | 20 | ||
21 | #ifdef OLED_DRIVER_ENABLE | 21 | #ifdef OLED_ENABLE |
22 | #define OLED_DISPLAY_128X64 | 22 | #define OLED_DISPLAY_128X64 |
23 | #endif | 23 | #endif |
24 | 24 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/rmw/rules.mk b/keyboards/splitkb/kyria/keymaps/rmw/rules.mk index d41ffaef6..1e2e1ad81 100644 --- a/keyboards/splitkb/kyria/keymaps/rmw/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/rmw/rules.mk | |||
@@ -1,4 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = no # Enables the use of OLED displays | 1 | OLED_ENABLE = no # Enables the use of OLED displays |
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | TAP_DANCE_ENABLE=yes # Enables Tap Dance | 4 | TAP_DANCE_ENABLE=yes # Enables Tap Dance |
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/config.h b/keyboards/splitkb/kyria/keymaps/shinze/config.h index f00bfa8e7..0d1e0b837 100644 --- a/keyboards/splitkb/kyria/keymaps/shinze/config.h +++ b/keyboards/splitkb/kyria/keymaps/shinze/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/keymap.c b/keyboards/splitkb/kyria/keymaps/shinze/keymap.c index 98e127960..ad9ca4da1 100644 --- a/keyboards/splitkb/kyria/keymaps/shinze/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/shinze/keymap.c | |||
@@ -157,7 +157,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
157 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 157 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
158 | } | 158 | } |
159 | 159 | ||
160 | #ifdef OLED_DRIVER_ENABLE | 160 | #ifdef OLED_ENABLE |
161 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 161 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
162 | return OLED_ROTATION_180; | 162 | return OLED_ROTATION_180; |
163 | } | 163 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/shinze/rules.mk b/keyboards/splitkb/kyria/keymaps/shinze/rules.mk index 604e15465..35f8ec90c 100644 --- a/keyboards/splitkb/kyria/keymaps/shinze/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/shinze/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
diff --git a/keyboards/splitkb/kyria/keymaps/tessachka/config.h b/keyboards/splitkb/kyria/keymaps/tessachka/config.h index a5529128d..3fc508542 100644 --- a/keyboards/splitkb/kyria/keymaps/tessachka/config.h +++ b/keyboards/splitkb/kyria/keymaps/tessachka/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/tessachka/keymap.c b/keyboards/splitkb/kyria/keymaps/tessachka/keymap.c index 38307f964..51a91fc91 100644 --- a/keyboards/splitkb/kyria/keymaps/tessachka/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/tessachka/keymap.c | |||
@@ -29,7 +29,7 @@ enum custom_keycodes { | |||
29 | }; | 29 | }; |
30 | 30 | ||
31 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 31 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
32 | /* | 32 | /* |
33 | * Base Layer: QWERTY | 33 | * Base Layer: QWERTY |
34 | * | 34 | * |
35 | * ,-------------------------------------------. ,-------------------------------------------. | 35 | * ,-------------------------------------------. ,-------------------------------------------. |
@@ -137,7 +137,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
137 | 137 | ||
138 | // bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 138 | // bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
139 | // switch (keycode) { | 139 | // switch (keycode) { |
140 | // case MyCustomKeycode: | 140 | // case MyCustomKeycode: |
141 | // if (record->event.pressed) { | 141 | // if (record->event.pressed) { |
142 | // // What to do if the button was pressed | 142 | // // What to do if the button was pressed |
143 | // } else { | 143 | // } else { |
@@ -148,7 +148,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
148 | // return true; | 148 | // return true; |
149 | // } | 149 | // } |
150 | 150 | ||
151 | #ifdef OLED_DRIVER_ENABLE | 151 | #ifdef OLED_ENABLE |
152 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 152 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
153 | return OLED_ROTATION_180; | 153 | return OLED_ROTATION_180; |
154 | } | 154 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/tessachka/rules.mk b/keyboards/splitkb/kyria/keymaps/tessachka/rules.mk index b7d691efd..e79a5604e 100644 --- a/keyboards/splitkb/kyria/keymaps/tessachka/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/tessachka/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
3 | MOUSEKEY_ENABLE = yes | 4 | MOUSEKEY_ENABLE = yes |
diff --git a/keyboards/splitkb/kyria/keymaps/thomasbaart/config.h b/keyboards/splitkb/kyria/keymaps/thomasbaart/config.h index 6128133ed..acb070359 100644 --- a/keyboards/splitkb/kyria/keymaps/thomasbaart/config.h +++ b/keyboards/splitkb/kyria/keymaps/thomasbaart/config.h | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #pragma once | 17 | #pragma once |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | #define OLED_DISPLAY_128X64 | 20 | #define OLED_DISPLAY_128X64 |
21 | #endif | 21 | #endif |
22 | 22 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/thomasbaart/keymap.c b/keyboards/splitkb/kyria/keymaps/thomasbaart/keymap.c index aed9d9762..24be4135e 100644 --- a/keyboards/splitkb/kyria/keymaps/thomasbaart/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/thomasbaart/keymap.c | |||
@@ -236,7 +236,7 @@ void matrix_scan_user(void) { | |||
236 | } | 236 | } |
237 | } | 237 | } |
238 | 238 | ||
239 | #ifdef OLED_DRIVER_ENABLE | 239 | #ifdef OLED_ENABLE |
240 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 240 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
241 | return OLED_ROTATION_180; | 241 | return OLED_ROTATION_180; |
242 | } | 242 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/thomasbaart/rules.mk b/keyboards/splitkb/kyria/keymaps/thomasbaart/rules.mk index 9b8e29419..65b44a298 100644 --- a/keyboards/splitkb/kyria/keymaps/thomasbaart/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/thomasbaart/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | LEADER_ENABLE = yes # Enable the Leader Key feature | 5 | LEADER_ENABLE = yes # Enable the Leader Key feature |
diff --git a/keyboards/splitkb/kyria/keymaps/via/keymap.c b/keyboards/splitkb/kyria/keymaps/via/keymap.c index 0b79afc11..730b5028c 100644 --- a/keyboards/splitkb/kyria/keymaps/via/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/via/keymap.c | |||
@@ -190,7 +190,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
190 | }; | 190 | }; |
191 | #endif | 191 | #endif |
192 | 192 | ||
193 | #ifdef OLED_DRIVER_ENABLE | 193 | #ifdef OLED_ENABLE |
194 | void oled_task_user(void) { | 194 | void oled_task_user(void) { |
195 | if (is_keyboard_master()) { | 195 | if (is_keyboard_master()) { |
196 | // QMK Logo and version information | 196 | // QMK Logo and version information |
diff --git a/keyboards/splitkb/kyria/keymaps/via/rules.mk b/keyboards/splitkb/kyria/keymaps/via/rules.mk index 1a13a974e..9f383dfa2 100644 --- a/keyboards/splitkb/kyria/keymaps/via/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/via/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # Enables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # Enables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | VIA_ENABLE = yes | 5 | VIA_ENABLE = yes |
diff --git a/keyboards/splitkb/kyria/keymaps/winternebs/config.h b/keyboards/splitkb/kyria/keymaps/winternebs/config.h index 472d57739..1df48a1f4 100755 --- a/keyboards/splitkb/kyria/keymaps/winternebs/config.h +++ b/keyboards/splitkb/kyria/keymaps/winternebs/config.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #define OLED_FONT_H "keyboards/splitkb/kyria/keymaps/winternebs/glcdfont.c" | 18 | #define OLED_FONT_H "keyboards/splitkb/kyria/keymaps/winternebs/glcdfont.c" |
19 | #define OLED_FONT_END 127 | 19 | #define OLED_FONT_END 127 |
20 | #ifdef OLED_DRIVER_ENABLE | 20 | #ifdef OLED_ENABLE |
21 | #define OLED_DISPLAY_128X64 | 21 | #define OLED_DISPLAY_128X64 |
22 | #endif | 22 | #endif |
23 | 23 | ||
diff --git a/keyboards/splitkb/kyria/keymaps/winternebs/keymap.c b/keyboards/splitkb/kyria/keymaps/winternebs/keymap.c index 3a31efdf3..082903031 100755 --- a/keyboards/splitkb/kyria/keymaps/winternebs/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/winternebs/keymap.c | |||
@@ -189,7 +189,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
189 | return true; | 189 | return true; |
190 | } | 190 | } |
191 | #endif | 191 | #endif |
192 | #ifdef OLED_DRIVER_ENABLE | 192 | #ifdef OLED_ENABLE |
193 | bool left = false; | 193 | bool left = false; |
194 | bool right = false; | 194 | bool right = false; |
195 | bool lastl = false; | 195 | bool lastl = false; |
@@ -200,7 +200,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
200 | #ifdef CONSOLE_ENABLE | 200 | #ifdef CONSOLE_ENABLE |
201 | uprintf("KL: kc: %u, col: %u, row: %u, pressed: %u, total: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.key.col + 10 * record->event.key.row); | 201 | uprintf("KL: kc: %u, col: %u, row: %u, pressed: %u, total: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.key.col + 10 * record->event.key.row); |
202 | #endif | 202 | #endif |
203 | #ifdef OLED_DRIVER_ENABLE | 203 | #ifdef OLED_ENABLE |
204 | if(record->event.pressed){ | 204 | if(record->event.pressed){ |
205 | uint8_t n = record->event.key.col + 10 * record->event.key.row; | 205 | uint8_t n = record->event.key.col + 10 * record->event.key.row; |
206 | if (n<40) { | 206 | if (n<40) { |
@@ -250,7 +250,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
250 | 250 | ||
251 | } | 251 | } |
252 | 252 | ||
253 | #ifdef OLED_DRIVER_ENABLE | 253 | #ifdef OLED_ENABLE |
254 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | 254 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { |
255 | return OLED_ROTATION_180; | 255 | return OLED_ROTATION_180; |
256 | } | 256 | } |
diff --git a/keyboards/splitkb/kyria/keymaps/winternebs/rules.mk b/keyboards/splitkb/kyria/keymaps/winternebs/rules.mk index fc85ca73d..47a3988e6 100755 --- a/keyboards/splitkb/kyria/keymaps/winternebs/rules.mk +++ b/keyboards/splitkb/kyria/keymaps/winternebs/rules.mk | |||
@@ -1,5 +1,6 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | ENCODER_ENABLE = yes # Enables the use of one or more | 2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays |
3 | ENCODER_ENABLE = yes # Enables the use of one or more | ||
3 | NKRO_ENABLE = yes | 4 | NKRO_ENABLE = yes |
4 | WPM_ENABLE = yes | 5 | WPM_ENABLE = yes |
5 | CONSOLE_ENABLE = no # Console for debug | 6 | CONSOLE_ENABLE = no # Console for debug |
diff --git a/keyboards/splitkb/kyria/rev1/config.h b/keyboards/splitkb/kyria/rev1/config.h index 9df5a3823..a330dfc10 100644 --- a/keyboards/splitkb/kyria/rev1/config.h +++ b/keyboards/splitkb/kyria/rev1/config.h | |||
@@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
69 | /* Locking resynchronize hack */ | 69 | /* Locking resynchronize hack */ |
70 | #define LOCKING_RESYNC_ENABLE | 70 | #define LOCKING_RESYNC_ENABLE |
71 | 71 | ||
72 | #ifdef OLED_DRIVER_ENABLE | 72 | #ifdef OLED_ENABLE |
73 | # define OLED_DISPLAY_128X64 | 73 | # define OLED_DISPLAY_128X64 |
74 | # define SPLIT_OLED_ENABLE | 74 | # define SPLIT_OLED_ENABLE |
75 | #endif | 75 | #endif |
diff --git a/keyboards/splitkb/kyria/rev1/rev1.c b/keyboards/splitkb/kyria/rev1/rev1.c index 8da217810..ac82f7373 100644 --- a/keyboards/splitkb/kyria/rev1/rev1.c +++ b/keyboards/splitkb/kyria/rev1/rev1.c | |||
@@ -55,7 +55,7 @@ led_config_t g_led_config = { { | |||
55 | } }; | 55 | } }; |
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | #ifdef OLED_DRIVER_ENABLE | 58 | #ifdef OLED_ENABLE |
59 | __attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } | 59 | __attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } |
60 | 60 | ||
61 | __attribute__((weak)) void oled_task_user(void) { | 61 | __attribute__((weak)) void oled_task_user(void) { |
diff --git a/keyboards/splitkb/kyria/rev1/rules.mk b/keyboards/splitkb/kyria/rev1/rules.mk index 6b9217782..cc2cbba60 100644 --- a/keyboards/splitkb/kyria/rev1/rules.mk +++ b/keyboards/splitkb/kyria/rev1/rules.mk | |||
@@ -1,4 +1,5 @@ | |||
1 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 1 | OLED_ENABLE = yes |
2 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
2 | ENCODER_ENABLE = yes # ENables the use of one or more encoders | 3 | ENCODER_ENABLE = yes # ENables the use of one or more encoders |
3 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 4 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
4 | RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE) | 5 | RGB_MATRIX_ENABLE = no # Enable keyboard RGB matrix (do not use together with RGBLIGHT_ENABLE) |
diff --git a/keyboards/splitkb/zima/rules.mk b/keyboards/splitkb/zima/rules.mk index 06d0b68bb..e069e1481 100644 --- a/keyboards/splitkb/zima/rules.mk +++ b/keyboards/splitkb/zima/rules.mk | |||
@@ -22,7 +22,8 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
22 | AUDIO_ENABLE = yes # Audio output | 22 | AUDIO_ENABLE = yes # Audio output |
23 | 23 | ||
24 | ENCODER_ENABLE = yes # ENables the use of one or more encoders | 24 | ENCODER_ENABLE = yes # ENables the use of one or more encoders |
25 | OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays | 25 | OLED_ENABLE = yes |
26 | OLED_DRIVER = SSD1306 # Enables the use of OLED displays | ||
26 | HAPTIC_ENABLE += DRV2605L # Supported but not included by defaut | 27 | HAPTIC_ENABLE += DRV2605L # Supported but not included by defaut |
27 | 28 | ||
28 | LTO_ENABLE = yes | 29 | LTO_ENABLE = yes |
diff --git a/keyboards/splitkb/zima/zima.c b/keyboards/splitkb/zima/zima.c index 74f9c84a7..6570f3449 100644 --- a/keyboards/splitkb/zima/zima.c +++ b/keyboards/splitkb/zima/zima.c | |||
@@ -21,7 +21,7 @@ | |||
21 | extern haptic_config_t haptic_config; | 21 | extern haptic_config_t haptic_config; |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #ifdef OLED_DRIVER_ENABLE | 24 | #ifdef OLED_ENABLE |
25 | static bool is_asleep = false; | 25 | static bool is_asleep = false; |
26 | static uint32_t oled_timer; | 26 | static uint32_t oled_timer; |
27 | 27 | ||
@@ -94,7 +94,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { | |||
94 | 94 | ||
95 | #ifdef ENCODER_ENABLE | 95 | #ifdef ENCODER_ENABLE |
96 | bool encoder_update_kb(uint8_t index, bool clockwise) { | 96 | bool encoder_update_kb(uint8_t index, bool clockwise) { |
97 | # ifdef OLED_DRIVER_ENABLE | 97 | # ifdef OLED_ENABLE |
98 | oled_timer = timer_read32(); | 98 | oled_timer = timer_read32(); |
99 | # endif | 99 | # endif |
100 | # if defined(AUDIO_ENABLE) && defined(AUDIO_CLICKY) | 100 | # if defined(AUDIO_ENABLE) && defined(AUDIO_CLICKY) |