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/pan | |
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/pan')
-rw-r--r-- | keyboards/rgbkb/pan/info.json | 9 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/keymaps/default/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/keymaps/default_eee/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/keymaps/default_sss/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/post_rules.mk | 8 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/rev1/32a/post_rules.mk | 22 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/rev1/proton_c/post_rules.mk | 22 | ||||
-rw-r--r-- | keyboards/rgbkb/pan/rules.mk | 21 |
8 files changed, 17 insertions, 74 deletions
diff --git a/keyboards/rgbkb/pan/info.json b/keyboards/rgbkb/pan/info.json index 60c4431d34..0abdc7a6ec 100644 --- a/keyboards/rgbkb/pan/info.json +++ b/keyboards/rgbkb/pan/info.json @@ -8,6 +8,15 @@ "pid": "0x8C9C", "device_version": "0.0.2" }, + "features": { + "bootmagic": true, + "encoder": true, + "extrakey": true, + "mousekey": false, + "nkro": false, + "oled": true, + "rgb_matrix": true + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/rgbkb/pan/keymaps/default/rules.mk b/keyboards/rgbkb/pan/keymaps/default/rules.mk index 9ad29c645c..c4f4ee04da 100644 --- a/keyboards/rgbkb/pan/keymaps/default/rules.mk +++ b/keyboards/rgbkb/pan/keymaps/default/rules.mk @@ -1,6 +1,3 @@ # RGB layout selection RGB_ENCODERS = yes # For RGB encoders, solder on both WS2811 chips STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this. - -# Do not edit past here -include keyboards/$(KEYBOARD)/post_rules.mk diff --git a/keyboards/rgbkb/pan/keymaps/default_eee/rules.mk b/keyboards/rgbkb/pan/keymaps/default_eee/rules.mk index 9ad29c645c..c4f4ee04da 100644 --- a/keyboards/rgbkb/pan/keymaps/default_eee/rules.mk +++ b/keyboards/rgbkb/pan/keymaps/default_eee/rules.mk @@ -1,6 +1,3 @@ # RGB layout selection RGB_ENCODERS = yes # For RGB encoders, solder on both WS2811 chips STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this. - -# Do not edit past here -include keyboards/$(KEYBOARD)/post_rules.mk diff --git a/keyboards/rgbkb/pan/keymaps/default_sss/rules.mk b/keyboards/rgbkb/pan/keymaps/default_sss/rules.mk index 9ad29c645c..c4f4ee04da 100644 --- a/keyboards/rgbkb/pan/keymaps/default_sss/rules.mk +++ b/keyboards/rgbkb/pan/keymaps/default_sss/rules.mk @@ -1,6 +1,3 @@ # RGB layout selection RGB_ENCODERS = yes # For RGB encoders, solder on both WS2811 chips STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this. - -# Do not edit past here -include keyboards/$(KEYBOARD)/post_rules.mk diff --git a/keyboards/rgbkb/pan/post_rules.mk b/keyboards/rgbkb/pan/post_rules.mk index 7947d1d9bf..afa3b555b2 100644 --- a/keyboards/rgbkb/pan/post_rules.mk +++ b/keyboards/rgbkb/pan/post_rules.mk @@ -1,4 +1,10 @@ -# 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 +RGB_MATRIX_KEYPRESSES ?= no # Enable reactive per-key effects. +RGB_MATRIX_FRAMEBUFFER_EFFECTS ?= no # Enable frame buffer effects like the typing heatmap. + +# RGB layout selection +STAGGERED_LAYOUT ?= no # If you soldered R1-A12 and R4-A12, enable this. +RGB_ENCODERS ?= yes # For RGB encoders, solder on both WS2811 chips + ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) OPT_DEFS += -DRGB_MATRIX_KEYPRESSES endif diff --git a/keyboards/rgbkb/pan/rev1/32a/post_rules.mk b/keyboards/rgbkb/pan/rev1/32a/post_rules.mk deleted file mode 100644 index 7947d1d9bf..0000000000 --- a/keyboards/rgbkb/pan/rev1/32a/post_rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# 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 -ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) - OPT_DEFS += -DRGB_MATRIX_KEYPRESSES -endif - -ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes) - OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS -endif - -ifeq ($(strip $(STAGGERED_LAYOUT)), yes) - OPT_DEFS += -DSTAGGERED_LAYOUT -endif - -ifeq ($(strip $(RGB_ENCODERS)), yes) - OPT_DEFS += -DRGB_ENCODERS -endif - -ifeq ($(strip $(RGB_ENCODERS)), yes) - ifeq ($(strip $(STAGGERED_LAYOUT)), yes) - OPT_DEFS += -DSTAGGERED_RGB_ENCODERS=$(strip $(STAGGERED_RGB_ENCODERS)) - endif -endif diff --git a/keyboards/rgbkb/pan/rev1/proton_c/post_rules.mk b/keyboards/rgbkb/pan/rev1/proton_c/post_rules.mk deleted file mode 100644 index 7947d1d9bf..0000000000 --- a/keyboards/rgbkb/pan/rev1/proton_c/post_rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# 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 -ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) - OPT_DEFS += -DRGB_MATRIX_KEYPRESSES -endif - -ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes) - OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS -endif - -ifeq ($(strip $(STAGGERED_LAYOUT)), yes) - OPT_DEFS += -DSTAGGERED_LAYOUT -endif - -ifeq ($(strip $(RGB_ENCODERS)), yes) - OPT_DEFS += -DRGB_ENCODERS -endif - -ifeq ($(strip $(RGB_ENCODERS)), yes) - ifeq ($(strip $(STAGGERED_LAYOUT)), yes) - OPT_DEFS += -DSTAGGERED_RGB_ENCODERS=$(strip $(STAGGERED_RGB_ENCODERS)) - endif -endif diff --git a/keyboards/rgbkb/pan/rules.mk b/keyboards/rgbkb/pan/rules.mk index 3f1097a7e8..b6f1d46a65 100644 --- a/keyboards/rgbkb/pan/rules.mk +++ b/keyboards/rgbkb/pan/rules.mk @@ -1,22 +1,3 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -ENCODER_ENABLE = yes -OLED_ENABLE = yes +WS2812_DRIVER_REQUIRED = yes -# RGB layout selection -RGB_ENCODERS = yes # For RGB encoders, solder on both WS2811 chips -STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this. - -# Default to revision 1 DEFAULT_FOLDER = rgbkb/pan/rev1 - -WS2812_DRIVER_REQUIRED := yes |