aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/sol
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb/sol')
-rw-r--r--keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c2
-rw-r--r--keyboards/rgbkb/sol/keymaps/brianweyer/rules.mk2
-rw-r--r--keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c2
-rw-r--r--keyboards/rgbkb/sol/keymaps/default/keymap.c2
-rw-r--r--keyboards/rgbkb/sol/keymaps/default/readme.md2
-rw-r--r--keyboards/rgbkb/sol/keymaps/xulkal/rules.mk2
-rw-r--r--keyboards/rgbkb/sol/keymaps/xyverz/keymap.c2
-rw-r--r--keyboards/rgbkb/sol/keymaps/xyverz/rules.mk5
-rw-r--r--keyboards/rgbkb/sol/rev1/rules.mk2
-rw-r--r--keyboards/rgbkb/sol/rev2/config.h2
-rw-r--r--keyboards/rgbkb/sol/rev2/post_rules.mk2
-rw-r--r--keyboards/rgbkb/sol/rev2/rules.mk4
12 files changed, 15 insertions, 14 deletions
diff --git a/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c b/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c
index 2ae07984d..aa465a696 100644
--- a/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c
+++ b/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c
@@ -196,7 +196,7 @@ void matrix_init_user(void) {
196 196
197 197
198// OLED Driver Logic 198// OLED Driver Logic
199#ifdef OLED_DRIVER_ENABLE 199#ifdef OLED_ENABLE
200 200
201oled_rotation_t oled_init_user(oled_rotation_t rotation) { 201oled_rotation_t oled_init_user(oled_rotation_t rotation) {
202 if (!is_keyboard_master()) 202 if (!is_keyboard_master())
diff --git a/keyboards/rgbkb/sol/keymaps/brianweyer/rules.mk b/keyboards/rgbkb/sol/keymaps/brianweyer/rules.mk
index 47dd9a7e2..f9832323b 100644
--- a/keyboards/rgbkb/sol/keymaps/brianweyer/rules.mk
+++ b/keyboards/rgbkb/sol/keymaps/brianweyer/rules.mk
@@ -4,7 +4,7 @@
4LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) 4LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
5 5
6# Misc 6# Misc
7OLED_DRIVER_ENABLE = yes # Enable the OLED Driver 7OLED_ENABLE = yes # Enable the OLED Driver
8 8
9 9
10 10
diff --git a/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c b/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c
index 96e19bf86..2ef78f122 100644
--- a/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c
+++ b/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c
@@ -261,7 +261,7 @@ void matrix_init_user(void) {
261 261
262 262
263// OLED Driver Logic 263// OLED Driver Logic
264#ifdef OLED_DRIVER_ENABLE 264#ifdef OLED_ENABLE
265 265
266oled_rotation_t oled_init_user(oled_rotation_t rotation) { 266oled_rotation_t oled_init_user(oled_rotation_t rotation) {
267 if (!has_usb()) 267 if (!has_usb())
diff --git a/keyboards/rgbkb/sol/keymaps/default/keymap.c b/keyboards/rgbkb/sol/keymaps/default/keymap.c
index 0883cb775..6fc2cb777 100644
--- a/keyboards/rgbkb/sol/keymaps/default/keymap.c
+++ b/keyboards/rgbkb/sol/keymaps/default/keymap.c
@@ -298,7 +298,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
298} 298}
299 299
300// OLED Driver Logic 300// OLED Driver Logic
301#ifdef OLED_DRIVER_ENABLE 301#ifdef OLED_ENABLE
302oled_rotation_t oled_init_user(oled_rotation_t rotation) { 302oled_rotation_t oled_init_user(oled_rotation_t rotation) {
303 if (is_keyboard_master()) 303 if (is_keyboard_master())
304 return OLED_ROTATION_270; 304 return OLED_ROTATION_270;
diff --git a/keyboards/rgbkb/sol/keymaps/default/readme.md b/keyboards/rgbkb/sol/keymaps/default/readme.md
index ce5bce19e..3f3e1afc5 100644
--- a/keyboards/rgbkb/sol/keymaps/default/readme.md
+++ b/keyboards/rgbkb/sol/keymaps/default/readme.md
@@ -92,7 +92,7 @@ RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness. Otherwise, limited t
92UNICODE_ENABLE = no # Unicode 92UNICODE_ENABLE = no # Unicode
93SWAP_HANDS_ENABLE = no # Enable one-hand typing 93SWAP_HANDS_ENABLE = no # Enable one-hand typing
94 94
95OLED_DRIVER_ENABLE = no # Enable the OLED Driver (+5000) 95OLED_ENABLE = no # Enable the OLED Driver (+5000)
96IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) 96IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
97 97
98 98
diff --git a/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk b/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk
index c386b39d3..4da351f25 100644
--- a/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk
+++ b/keyboards/rgbkb/sol/keymaps/xulkal/rules.mk
@@ -9,7 +9,7 @@ FULLHAND_ENABLE = no # Enables the additional 24 Full Hand LEDs
9SF_ENABLE = no # Enables the additional 38 Starfighter LEDs 9SF_ENABLE = no # Enables the additional 38 Starfighter LEDs
10 10
11# Misc 11# Misc
12OLED_DRIVER_ENABLE = yes # Enable the OLED Driver 12OLED_ENABLE = yes # Enable the OLED Driver
13 13
14# Not using the encoder for rev1 14# Not using the encoder for rev1
15ifeq ($(strip $(KEYBOARD)), rgbkb/sol/rev1) 15ifeq ($(strip $(KEYBOARD)), rgbkb/sol/rev1)
diff --git a/keyboards/rgbkb/sol/keymaps/xyverz/keymap.c b/keyboards/rgbkb/sol/keymaps/xyverz/keymap.c
index ed98a951c..73f7220a6 100644
--- a/keyboards/rgbkb/sol/keymaps/xyverz/keymap.c
+++ b/keyboards/rgbkb/sol/keymaps/xyverz/keymap.c
@@ -279,7 +279,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
279#endif 279#endif
280 280
281// OLED Driver Logic 281// OLED Driver Logic
282#ifdef OLED_DRIVER_ENABLE 282#ifdef OLED_ENABLE
283 oled_rotation_t oled_init_user(oled_rotation_t rotation) { 283 oled_rotation_t oled_init_user(oled_rotation_t rotation) {
284 if (is_keyboard_master()) 284 if (is_keyboard_master())
285 return OLED_ROTATION_270; 285 return OLED_ROTATION_270;
diff --git a/keyboards/rgbkb/sol/keymaps/xyverz/rules.mk b/keyboards/rgbkb/sol/keymaps/xyverz/rules.mk
index 5d94aa9df..bb9d58e94 100644
--- a/keyboards/rgbkb/sol/keymaps/xyverz/rules.mk
+++ b/keyboards/rgbkb/sol/keymaps/xyverz/rules.mk
@@ -24,7 +24,8 @@ OLED_ENABLE = no # OLED_ENABLE
24IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) 24IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
25DEFAULT_FOLDER = rgbkb/sol/rev1 25DEFAULT_FOLDER = rgbkb/sol/rev1
26ENCODER_ENABLE = no 26ENCODER_ENABLE = no
27OLED_DRIVER_ENABLE = yes 27OLED_ENABLE = yes
28OLED_DRIVER = SSD1306
28 29
29# Do not edit past here 30# Do not edit past here
30 31
@@ -51,4 +52,4 @@ endif
51 52
52ifeq ($(strip $(LED_MIRRORED)), yes) 53ifeq ($(strip $(LED_MIRRORED)), yes)
53 OPT_DEFS += -DLED_MIRRORED 54 OPT_DEFS += -DLED_MIRRORED
54endif \ No newline at end of file 55endif
diff --git a/keyboards/rgbkb/sol/rev1/rules.mk b/keyboards/rgbkb/sol/rev1/rules.mk
index 9124e3d0e..5c5850f90 100644
--- a/keyboards/rgbkb/sol/rev1/rules.mk
+++ b/keyboards/rgbkb/sol/rev1/rules.mk
@@ -25,5 +25,5 @@ RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness for RGBLIGHT
25IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) 25IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
26 26
27# Misc 27# Misc
28OLED_DRIVER_ENABLE = no # Enable the OLED Driver 28OLED_ENABLE = no # Enable the OLED Driver
29SWAP_HANDS_ENABLE = no # Enable one-hand typing 29SWAP_HANDS_ENABLE = no # Enable one-hand typing
diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h
index 4ffcecc6b..f0c71db34 100644
--- a/keyboards/rgbkb/sol/rev2/config.h
+++ b/keyboards/rgbkb/sol/rev2/config.h
@@ -64,7 +64,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
64#define ENCODERS_PAD_A { D2 } 64#define ENCODERS_PAD_A { D2 }
65#define ENCODERS_PAD_B { D6 } 65#define ENCODERS_PAD_B { D6 }
66#else 66#else
67#ifdef OLED_DRIVER_ENABLE 67#ifdef OLED_ENABLE
68 #error Extra encoders cannot be enabled at the same time as the OLED Driver as they use the same pins. 68 #error Extra encoders cannot be enabled at the same time as the OLED Driver as they use the same pins.
69#endif 69#endif
70#define ENCODERS_PAD_A { D2, D1, B0 } 70#define ENCODERS_PAD_A { D2, D1, B0 }
diff --git a/keyboards/rgbkb/sol/rev2/post_rules.mk b/keyboards/rgbkb/sol/rev2/post_rules.mk
index ab03325c9..feaa2ac1f 100644
--- a/keyboards/rgbkb/sol/rev2/post_rules.mk
+++ b/keyboards/rgbkb/sol/rev2/post_rules.mk
@@ -28,7 +28,7 @@ ifeq ($(strip $(EXTRA_ENCODERS_ENABLE)), yes)
28 OPT_DEFS += -DEXTRA_ENCODERS_ENABLE 28 OPT_DEFS += -DEXTRA_ENCODERS_ENABLE
29endif 29endif
30 30
31ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes) 31ifeq ($(strip $(OLED_ENABLE)), yes)
32 ifeq ($(strip $(ENCODER_ENABLE)), yes) 32 ifeq ($(strip $(ENCODER_ENABLE)), yes)
33 ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) 33 ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
34 ifneq ($(strip $(RGB_OLED_MENU)), no) 34 ifneq ($(strip $(RGB_OLED_MENU)), no)
diff --git a/keyboards/rgbkb/sol/rev2/rules.mk b/keyboards/rgbkb/sol/rev2/rules.mk
index 8871a8a7c..e5d2a9dcc 100644
--- a/keyboards/rgbkb/sol/rev2/rules.mk
+++ b/keyboards/rgbkb/sol/rev2/rules.mk
@@ -27,8 +27,8 @@ SF_ENABLE = no # Enables the additional 38 Starfighter LEDs
27IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) 27IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
28 28
29# Misc 29# Misc
30OLED_DRIVER_ENABLE = no # Enable the OLED Driver 30OLED_ENABLE = no # Enable the OLED Driver
31EXTRA_ENCODERS_ENABLE = no # Enables 3 encoders per side (up from 1, not compatible with OLED_DRIVER_ENABLE) 31EXTRA_ENCODERS_ENABLE = no # Enables 3 encoders per side (up from 1, not compatible with OLED_ENABLE)
32SWAP_HANDS_ENABLE = no # Enable one-hand typing 32SWAP_HANDS_ENABLE = no # Enable one-hand typing
33LTO_ENABLE = yes # Enable Link Time Optimizations greatly reducing firmware size by disabling the old Macros and Functions features 33LTO_ENABLE = yes # Enable Link Time Optimizations greatly reducing firmware size by disabling the old Macros and Functions features
34 34