diff options
author | Joel Challis <[email protected]> | 2024-05-11 13:11:50 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-11 13:11:50 +0100 |
commit | 2d4832f57ae392a57567e9a126d38cde44399d91 (patch) | |
tree | 0a1391875c0bc9c0934bbbe50fbf8668b513960b /keyboards/rgbkb/sol/rev2 | |
parent | 73f3f6e56dd7b761320af671da7a350a50c23650 (diff) | |
download | qmk_firmware-2d4832f57ae392a57567e9a126d38cde44399d91.tar.gz qmk_firmware-2d4832f57ae392a57567e9a126d38cde44399d91.zip |
Align RGBKB keyboards to current standards (#23663)
Diffstat (limited to 'keyboards/rgbkb/sol/rev2')
-rw-r--r-- | keyboards/rgbkb/sol/rev2/keyboard.json | 13 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/post_rules.mk | 17 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/rules.mk | 34 |
3 files changed, 28 insertions, 36 deletions
diff --git a/keyboards/rgbkb/sol/rev2/keyboard.json b/keyboards/rgbkb/sol/rev2/keyboard.json index f7ec84cfce..b080319f17 100644 --- a/keyboards/rgbkb/sol/rev2/keyboard.json +++ b/keyboards/rgbkb/sol/rev2/keyboard.json @@ -8,6 +8,19 @@ "pid": "0x3060", "device_version": "0.0.2" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": false, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": false, + "rgb_matrix": true, + "rgblight": false + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/rgbkb/sol/rev2/post_rules.mk b/keyboards/rgbkb/sol/rev2/post_rules.mk index feaa2ac1f2..9c5db1443b 100644 --- a/keyboards/rgbkb/sol/rev2/post_rules.mk +++ b/keyboards/rgbkb/sol/rev2/post_rules.mk @@ -1,4 +1,17 @@ -# As long as the users rules.mk has include $(KEYBOARD)/post_rules.mk this will be run after to properly setup any keyboard features and defines +IOS_DEVICE_ENABLE ?= no # Limit max brightness to connect to IOS device (iPad,iPhone) +RGBLIGHT_FULL_POWER ?= no # Allow maximum RGB brightness for RGBLIGHT or RGB_MATRIX. Otherwise, limited to a safe level for a normal USB-A port +RGB_MATRIX_KEYPRESSES ?= no # Enable reactive per-key effects. +RGB_MATRIX_FRAMEBUFFER_EFFECTS ?= no # Enable frame buffer effects like the typing heatmap. +LED_MIRRORED ?= no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) +FULLHAND_ENABLE ?= no # Enables the additional 24 Full Hand LEDs +SF_ENABLE ?= no # Enables the additional 38 Starfighter LEDs + +EXTRA_ENCODERS_ENABLE ?= no # Enables 3 encoders per side (up from 1, not compatible with OLED_ENABLE) + +# Special RGB Matrix, OLED, & Encoder Control Menu! +RGB_OLED_MENU ?= no # Enabled by setting this to the encoder index (0-5) you wish to use to control the menu. + # Use the RGB_MENU keycode in the keymap for the encoder to advance the menu to the next option. + ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) OPT_DEFS += -DIOS_DEVICE_ENABLE @@ -30,7 +43,7 @@ endif ifeq ($(strip $(OLED_ENABLE)), yes) ifeq ($(strip $(ENCODER_ENABLE)), yes) - ifneq ($(strip $(RGB_MATRIX_ENABLE)), no) + ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) ifneq ($(strip $(RGB_OLED_MENU)), no) OPT_DEFS += -DRGB_OLED_MENU=$(strip $(RGB_OLED_MENU)) endif diff --git a/keyboards/rgbkb/sol/rev2/rules.mk b/keyboards/rgbkb/sol/rev2/rules.mk deleted file mode 100644 index 53aeba76ae..0000000000 --- a/keyboards/rgbkb/sol/rev2/rules.mk +++ /dev/null @@ -1,34 +0,0 @@ -# RGBKB Sol Rev2 Defaults - -# Keycode Options -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -NKRO_ENABLE = no # Enable N-Key Rollover - -# Debug Options -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration - -# RGB Options -RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not enable with RGB Matrix -LED_MIRRORED = no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) - -RGB_MATRIX_ENABLE = yes # Enable per-key coordinate based RGB effects. Do not enable with RGBlight -RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. -RGB_MATRIX_FRAMEBUFFER_EFFECTS = no # Enable frame buffer effects like the typing heatmap. - -RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness for RGBLIGHT or RGB_MATRIX. Otherwise, limited to a safe level for a normal USB-A port -FULLHAND_ENABLE = no # Enables the additional 24 Full Hand LEDs -SF_ENABLE = no # Enables the additional 38 Starfighter LEDs -IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) - -# Misc -OLED_ENABLE = no # Enable the OLED Driver -EXTRA_ENCODERS_ENABLE = no # Enables 3 encoders per side (up from 1, not compatible with OLED_ENABLE) -SWAP_HANDS_ENABLE = no # Enable one-hand typing -LTO_ENABLE = yes # Enable Link Time Optimizations greatly reducing firmware size by disabling the old Macros and Functions features - -# Special RGB Matrix, OLED, & Encoder Control Menu! -RGB_OLED_MENU = no # Enabled by setting this to the encoder index (0-5) you wish to use to control the menu. - # Use the RGB_MENU keycode in the keymap for the encoder to advance the menu to the next option. |