diff options
Diffstat (limited to 'keyboards')
33 files changed, 115 insertions, 93 deletions
diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index 541f07ee9..dc1bfb71c 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h | |||
| @@ -74,3 +74,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 74 | #define BACKLIGHT_LEVELS 6 | 74 | #define BACKLIGHT_LEVELS 6 |
| 75 | #define BACKLIGHT_BREATHING | 75 | #define BACKLIGHT_BREATHING |
| 76 | #define BREATHING_PERIOD 6 | 76 | #define BREATHING_PERIOD 6 |
| 77 | |||
| 78 | #define SLEEP_LED_GPT_DRIVER GPTD1 | ||
diff --git a/keyboards/aeboards/ext65/rev2/halconf.h b/keyboards/aeboards/ext65/rev2/halconf.h index 6e2f53640..9fa1eca60 100644 --- a/keyboards/aeboards/ext65/rev2/halconf.h +++ b/keyboards/aeboards/ext65/rev2/halconf.h | |||
| @@ -27,5 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | #define HAL_USE_SPI TRUE | 28 | #define HAL_USE_SPI TRUE |
| 29 | 29 | ||
| 30 | #define HAL_USE_GPT TRUE | ||
| 31 | |||
| 30 | #include_next <halconf.h> | 32 | #include_next <halconf.h> |
| 31 | 33 | ||
diff --git a/keyboards/aeboards/ext65/rev2/mcuconf.h b/keyboards/aeboards/ext65/rev2/mcuconf.h index 26ce80615..43d53d4f2 100644 --- a/keyboards/aeboards/ext65/rev2/mcuconf.h +++ b/keyboards/aeboards/ext65/rev2/mcuconf.h | |||
| @@ -32,3 +32,5 @@ | |||
| 32 | #undef STM32_SPI_USE_SPI2 | 32 | #undef STM32_SPI_USE_SPI2 |
| 33 | #define STM32_SPI_USE_SPI2 TRUE | 33 | #define STM32_SPI_USE_SPI2 TRUE |
| 34 | 34 | ||
| 35 | #undef STM32_GPT_USE_TIM1 | ||
| 36 | #define STM32_GPT_USE_TIM1 TRUE | ||
diff --git a/keyboards/cannonkeys/an_c/rules.mk b/keyboards/cannonkeys/an_c/rules.mk index 8ed2d0ead..7309744d1 100644 --- a/keyboards/cannonkeys/an_c/rules.mk +++ b/keyboards/cannonkeys/an_c/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/chimera65/rules.mk b/keyboards/cannonkeys/chimera65/rules.mk index 4d940da78..a08f2fa49 100644 --- a/keyboards/cannonkeys/chimera65/rules.mk +++ b/keyboards/cannonkeys/chimera65/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/instant60/rules.mk b/keyboards/cannonkeys/instant60/rules.mk index 0973ad954..e5ba2903b 100644 --- a/keyboards/cannonkeys/instant60/rules.mk +++ b/keyboards/cannonkeys/instant60/rules.mk | |||
| @@ -10,7 +10,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control | 10 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 11 | CONSOLE_ENABLE = yes # Console for debug | 11 | CONSOLE_ENABLE = yes # Console for debug |
| 12 | COMMAND_ENABLE = yes # Commands for debug and configuration | 12 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 13 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | NKRO_ENABLE = yes # USB Nkey Rollover | 14 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 15 | CUSTOM_MATRIX = no # Custom matrix file | 15 | CUSTOM_MATRIX = no # Custom matrix file |
| 16 | BACKLIGHT_ENABLE = yes | 16 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/iron165/rules.mk b/keyboards/cannonkeys/iron165/rules.mk index 3925458dd..9de75a614 100644 --- a/keyboards/cannonkeys/iron165/rules.mk +++ b/keyboards/cannonkeys/iron165/rules.mk | |||
| @@ -9,7 +9,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control | 9 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 10 | CONSOLE_ENABLE = yes # Console for debug | 10 | CONSOLE_ENABLE = yes # Console for debug |
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | 11 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 12 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 13 | NKRO_ENABLE = yes # USB Nkey Rollover | 13 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 14 | CUSTOM_MATRIX = no # Custom matrix file | 14 | CUSTOM_MATRIX = no # Custom matrix file |
| 15 | BACKLIGHT_ENABLE = yes | 15 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/satisfaction75/rules.mk b/keyboards/cannonkeys/satisfaction75/rules.mk index e3abea546..3861b4849 100644 --- a/keyboards/cannonkeys/satisfaction75/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/rules.mk | |||
| @@ -15,7 +15,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 15 | EXTRAKEY_ENABLE = yes # Audio control and System control | 15 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 16 | CONSOLE_ENABLE = yes # Console for debug | 16 | CONSOLE_ENABLE = yes # Console for debug |
| 17 | COMMAND_ENABLE = yes # Commands for debug and configuration | 17 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 18 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 18 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 19 | NKRO_ENABLE = yes # USB Nkey Rollover | 19 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 20 | CUSTOM_MATRIX = no # Custom matrix file | 20 | CUSTOM_MATRIX = no # Custom matrix file |
| 21 | ENCODER_ENABLE = yes | 21 | ENCODER_ENABLE = yes |
diff --git a/keyboards/cannonkeys/savage65/rules.mk b/keyboards/cannonkeys/savage65/rules.mk index 8e1b984fd..2454573d2 100644 --- a/keyboards/cannonkeys/savage65/rules.mk +++ b/keyboards/cannonkeys/savage65/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/tmov2/rules.mk b/keyboards/cannonkeys/tmov2/rules.mk index 9b29e8fd1..294c873ee 100644 --- a/keyboards/cannonkeys/tmov2/rules.mk +++ b/keyboards/cannonkeys/tmov2/rules.mk | |||
| @@ -11,7 +11,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | 11 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 12 | CONSOLE_ENABLE = yes # Console for debug | 12 | CONSOLE_ENABLE = yes # Console for debug |
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | 13 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | CUSTOM_MATRIX = no # Custom matrix file | 16 | CUSTOM_MATRIX = no # Custom matrix file |
| 17 | BACKLIGHT_ENABLE = yes | 17 | BACKLIGHT_ENABLE = yes |
diff --git a/keyboards/cannonkeys/tsukuyomi/rules.mk b/keyboards/cannonkeys/tsukuyomi/rules.mk index ce881f198..4e7791a79 100644 --- a/keyboards/cannonkeys/tsukuyomi/rules.mk +++ b/keyboards/cannonkeys/tsukuyomi/rules.mk | |||
| @@ -10,7 +10,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
| 10 | CONSOLE_ENABLE = yes # Console for debug | 10 | CONSOLE_ENABLE = yes # Console for debug |
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | 11 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 13 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 15 | NKRO_ENABLE = yes # USB Nkey Rollover | 15 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c index dd399317c..339bd78d5 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.c +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | #include "gen1.h" | 16 | #include "gen1.h" |
| 17 | 17 | ||
| 18 | #ifdef LED_MATRIX_ENABLE | 18 | #ifdef LED_MATRIX_ENABLE |
| 19 | #include "is31fl3731-simple.h" | ||
| 20 | |||
| 21 | const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { |
| 22 | /* Refer to IS31 manual for these locations | 20 | /* Refer to IS31 manual for these locations |
| 23 | * driver | 21 | * driver |
diff --git a/keyboards/crkbd/rev1/common/config.h b/keyboards/crkbd/rev1/common/config.h index a2c2cde0b..b468fe395 100644 --- a/keyboards/crkbd/rev1/common/config.h +++ b/keyboards/crkbd/rev1/common/config.h | |||
| @@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | 23 | ||
| 24 | #ifdef RGB_MATRIX_ENABLE | 24 | #ifdef RGB_MATRIX_ENABLE |
| 25 | # define RGB_MATRIX_SPLIT { 27, 27 } | 25 | # define RGB_MATRIX_SPLIT { 27, 27 } |
| 26 | # define SPLIT_TRANSPORT_MIRROR | ||
| 26 | #endif | 27 | #endif |
| 27 | 28 | ||
| 28 | #define DIODE_DIRECTION COL2ROW | 29 | #define DIODE_DIRECTION COL2ROW |
diff --git a/keyboards/crkbd/rev1/common/rules.mk b/keyboards/crkbd/rev1/common/rules.mk index 0b8106e3f..d38a61809 100644 --- a/keyboards/crkbd/rev1/common/rules.mk +++ b/keyboards/crkbd/rev1/common/rules.mk | |||
| @@ -1,2 +1 @@ | |||
| 1 | SPLIT_KEYBOARD = yes | SPLIT_KEYBOARD = yes | |
| 2 | SPLIT_TRANSPORT = mirror # for when Split Mirroring drops, it will maintain mirroring functionality | ||
diff --git a/keyboards/crkbd/rev1/rev1.c b/keyboards/crkbd/rev1/rev1.c index f2df8942a..347f98150 100644 --- a/keyboards/crkbd/rev1/rev1.c +++ b/keyboards/crkbd/rev1/rev1.c | |||
| @@ -87,7 +87,7 @@ led_config_t g_led_config = { { | |||
| 87 | 87 | ||
| 88 | void matrix_init_kb(void) { | 88 | void matrix_init_kb(void) { |
| 89 | 89 | ||
| 90 | #ifdef RGB_MATRIX_ENABLE | 90 | #if defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_SPLIT) |
| 91 | if (!isLeftHand) { | 91 | if (!isLeftHand) { |
| 92 | g_led_config = (led_config_t){ { | 92 | g_led_config = (led_config_t){ { |
| 93 | { 51, 50, 45, 44, 37, 36 }, | 93 | { 51, 50, 45, 44, 37, 36 }, |
diff --git a/keyboards/daji/seis_cinco/rules.mk b/keyboards/daji/seis_cinco/rules.mk index fa34092cd..768e50069 100644 --- a/keyboards/daji/seis_cinco/rules.mk +++ b/keyboards/daji/seis_cinco/rules.mk | |||
| @@ -11,7 +11,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
| 11 | CONSOLE_ENABLE = no # Console for debug | 11 | CONSOLE_ENABLE = no # Console for debug |
| 12 | COMMAND_ENABLE = no # Commands for debug and configuration | 12 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 13 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 13 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 14 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 15 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 15 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 16 | NKRO_ENABLE = yes # USB Nkey Rollover | 16 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 17 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 17 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
diff --git a/keyboards/handwired/ck4x4/rules.mk b/keyboards/handwired/ck4x4/rules.mk index 0709f341b..e5785270b 100644 --- a/keyboards/handwired/ck4x4/rules.mk +++ b/keyboards/handwired/ck4x4/rules.mk | |||
| @@ -10,7 +10,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control | 10 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 11 | CONSOLE_ENABLE = yes # Console for debug | 11 | CONSOLE_ENABLE = yes # Console for debug |
| 12 | COMMAND_ENABLE = yes # Commands for debug and configuration | 12 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 13 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | NKRO_ENABLE = yes # USB Nkey Rollover | 14 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 15 | CUSTOM_MATRIX = no # Custom matrix file | 15 | CUSTOM_MATRIX = no # Custom matrix file |
| 16 | 16 | ||
diff --git a/keyboards/handwired/onekey/rules.mk b/keyboards/handwired/onekey/rules.mk index 259050d55..df2ec1ecf 100644 --- a/keyboards/handwired/onekey/rules.mk +++ b/keyboards/handwired/onekey/rules.mk | |||
| @@ -7,9 +7,9 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
| 7 | CONSOLE_ENABLE = yes # Console for debug(+400) | 7 | CONSOLE_ENABLE = yes # Console for debug(+400) |
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 9 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 9 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 10 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 10 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 11 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 11 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 12 | NKRO_ENABLE = yes # USB Nkey Rollover | 12 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default |
| 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 15 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | 15 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) |
diff --git a/keyboards/projectkb/alice/config.h b/keyboards/projectkb/alice/config.h new file mode 100644 index 000000000..95fb682e1 --- /dev/null +++ b/keyboards/projectkb/alice/config.h | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define SLEEP_LED_GPT_DRIVER GPTD1 | ||
diff --git a/keyboards/projectkb/alice/halconf.h b/keyboards/projectkb/alice/halconf.h index b17808ffe..0016e53ba 100644 --- a/keyboards/projectkb/alice/halconf.h +++ b/keyboards/projectkb/alice/halconf.h | |||
| @@ -27,5 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | #define HAL_USE_SPI TRUE | 28 | #define HAL_USE_SPI TRUE |
| 29 | 29 | ||
| 30 | #define HAL_USE_GPT TRUE | ||
| 31 | |||
| 30 | #include_next <halconf.h> | 32 | #include_next <halconf.h> |
| 31 | 33 | ||
diff --git a/keyboards/projectkb/alice/mcuconf.h b/keyboards/projectkb/alice/mcuconf.h index 4bfc7f946..6e0f1a50d 100644 --- a/keyboards/projectkb/alice/mcuconf.h +++ b/keyboards/projectkb/alice/mcuconf.h | |||
| @@ -32,3 +32,5 @@ | |||
| 32 | #undef STM32_SPI_USE_SPI2 | 32 | #undef STM32_SPI_USE_SPI2 |
| 33 | #define STM32_SPI_USE_SPI2 TRUE | 33 | #define STM32_SPI_USE_SPI2 TRUE |
| 34 | 34 | ||
| 35 | #undef STM32_GPT_USE_TIM1 | ||
| 36 | #define STM32_GPT_USE_TIM1 TRUE | ||
diff --git a/keyboards/projectkb/signature87/rules.mk b/keyboards/projectkb/signature87/rules.mk index fe0d976d1..caad4c83c 100644 --- a/keyboards/projectkb/signature87/rules.mk +++ b/keyboards/projectkb/signature87/rules.mk | |||
| @@ -9,7 +9,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control | 9 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 10 | CONSOLE_ENABLE = yes # Console for debug | 10 | CONSOLE_ENABLE = yes # Console for debug |
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | 11 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 12 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 13 | NKRO_ENABLE = yes # USB Nkey Rollover | 13 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 14 | BACKLIGHT_ENABLE = no | 14 | BACKLIGHT_ENABLE = no |
| 15 | 15 | ||
diff --git a/keyboards/ramonimbao/wete/config.h b/keyboards/ramonimbao/wete/config.h index 5d68a7efd..3d8955009 100644 --- a/keyboards/ramonimbao/wete/config.h +++ b/keyboards/ramonimbao/wete/config.h | |||
| @@ -46,6 +46,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | #define RGBLED_NUM 24 | 46 | #define RGBLED_NUM 24 |
| 47 | #define RGBLIGHT_ANIMATIONS | 47 | #define RGBLIGHT_ANIMATIONS |
| 48 | 48 | ||
| 49 | #define SLEEP_LED_GPT_DRIVER GPTD1 | ||
| 50 | |||
| 49 | /* define if matrix has ghost */ | 51 | /* define if matrix has ghost */ |
| 50 | //#define MATRIX_HAS_GHOST | 52 | //#define MATRIX_HAS_GHOST |
| 51 | 53 | ||
diff --git a/keyboards/ramonimbao/wete/halconf.h b/keyboards/ramonimbao/wete/halconf.h index c43440a45..b3de873be 100644 --- a/keyboards/ramonimbao/wete/halconf.h +++ b/keyboards/ramonimbao/wete/halconf.h | |||
| @@ -23,5 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | #define HAL_USE_PWM TRUE | 24 | #define HAL_USE_PWM TRUE |
| 25 | 25 | ||
| 26 | #define HAL_USE_GPT TRUE | ||
| 27 | |||
| 26 | #include_next <halconf.h> | 28 | #include_next <halconf.h> |
| 27 | 29 | ||
diff --git a/keyboards/ramonimbao/wete/mcuconf.h b/keyboards/ramonimbao/wete/mcuconf.h index b7f2c481c..7a2e87776 100644 --- a/keyboards/ramonimbao/wete/mcuconf.h +++ b/keyboards/ramonimbao/wete/mcuconf.h | |||
| @@ -35,3 +35,5 @@ | |||
| 35 | #undef STM32_SPI_USE_SPI2 | 35 | #undef STM32_SPI_USE_SPI2 |
| 36 | #define STM32_SPI_USE_SPI2 TRUE | 36 | #define STM32_SPI_USE_SPI2 TRUE |
| 37 | 37 | ||
| 38 | #undef STM32_GPT_USE_TIM1 | ||
| 39 | #define STM32_GPT_USE_TIM1 TRUE | ||
diff --git a/keyboards/readme.md b/keyboards/readme.md index 6b7b92e0c..a23d0845b 100644 --- a/keyboards/readme.md +++ b/keyboards/readme.md | |||
| @@ -63,4 +63,4 @@ These keyboards are part of the QMK repository, but their manufacturers are not | |||
| 63 | * [Vision Division](/keyboards/vision_division) — Full Size / Split Linear Keyboard by IBNobody. | 63 | * [Vision Division](/keyboards/vision_division) — Full Size / Split Linear Keyboard by IBNobody. |
| 64 | * [XD004](/keyboards/xd004) — 1x4 macro keyboard sold by KPrepublic. | 64 | * [XD004](/keyboards/xd004) — 1x4 macro keyboard sold by KPrepublic. |
| 65 | * [XD75](/keyboards/xd75) — 15x5 ortholinear keyboard by XIUDI. | 65 | * [XD75](/keyboards/xd75) — 15x5 ortholinear keyboard by XIUDI. |
| 66 | * [YMDK NP21](/keyboards/ymdk_np21) — ps2avrGB based number pad (numpad) sold by YMDK on Aliexpress. | 66 | * [YMDK NP21](/keyboards/ymdk_np21) — ps2avrGB based number pad (numpad) sold by YMDK on Aliexpress. |
diff --git a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk index 78969ad7a..d7d50e137 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk +++ b/keyboards/rgbkb/zygomorph/keymaps/xulkal/rules.mk | |||
| @@ -8,11 +8,13 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
| 8 | CONSOLE_ENABLE = no # Console for debug | 8 | CONSOLE_ENABLE = no # Console for debug |
| 9 | COMMAND_ENABLE = no # Commands for debug and configuration | 9 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 10 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 10 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 11 | RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix | 11 | RGBLIGHT_ENABLE = no # Enable global lighting effects. Do not enable with RGB Matrix |
| 12 | RGBLIGHT_ANIMATIONS = yes # LED animations | 12 | RGBLIGHT_ANIMATIONS = no # LED animations |
| 13 | RGBLIGHT_SPLIT_ENABLE = yes # Split RGBLight Support | 13 | RGBLIGHT_SPLIT_ENABLE = no # Split RGBLight Support |
| 14 | RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight | 14 | RGB_MATRIX_ENABLE = yes # Enable per-key coordinate based RGB effects. Do not enable with RGBlight |
| 15 | RGB_MATRIX_DRIVER = WS2812 | ||
| 15 | RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. | 16 | RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. |
| 17 | SPLIT_RGB_MATRIX_ENABLE = yes # For split RGB Matrix support | ||
| 16 | RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port | 18 | RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port |
| 17 | UNICODE_ENABLE = no # Unicode | 19 | UNICODE_ENABLE = no # Unicode |
| 18 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | 20 | SWAP_HANDS_ENABLE = no # Enable one-hand typing |
| @@ -40,3 +42,7 @@ endif | |||
| 40 | ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes) | 42 | ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes) |
| 41 | OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE | 43 | OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE |
| 42 | endif | 44 | endif |
| 45 | |||
| 46 | ifeq ($(strip $(SPLIT_RGB_MATRIX_ENABLE)), yes) | ||
| 47 | OPT_DEFS += -DSPLIT_TRANSPORT_MIRROR | ||
| 48 | endif | ||
diff --git a/keyboards/rgbkb/zygomorph/rev1/config.h b/keyboards/rgbkb/zygomorph/rev1/config.h index 667b68f73..190a8bbe3 100644 --- a/keyboards/rgbkb/zygomorph/rev1/config.h +++ b/keyboards/rgbkb/zygomorph/rev1/config.h | |||
| @@ -55,7 +55,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 55 | #define RGBLED_NUM 60 | 55 | #define RGBLED_NUM 60 |
| 56 | #define RGBLED_SPLIT { 30, 30 } | 56 | #define RGBLED_SPLIT { 30, 30 } |
| 57 | #endif | 57 | #endif |
| 58 | #define DRIVER_LED_TOTAL 30 | 58 | |
| 59 | #define DRIVER_LED_TOTAL 60 | ||
| 60 | #define RGB_MATRIX_SPLIT { 30, 30 } | ||
| 59 | 61 | ||
| 60 | #ifdef IOS_DEVICE_ENABLE | 62 | #ifdef IOS_DEVICE_ENABLE |
| 61 | #define RGBLIGHT_LIMIT_VAL 40 | 63 | #define RGBLIGHT_LIMIT_VAL 40 |
diff --git a/keyboards/rgbkb/zygomorph/rev1/rev1.c b/keyboards/rgbkb/zygomorph/rev1/rev1.c index 3edf48c5d..1fb1716a0 100644 --- a/keyboards/rgbkb/zygomorph/rev1/rev1.c +++ b/keyboards/rgbkb/zygomorph/rev1/rev1.c | |||
| @@ -2,72 +2,42 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | #ifdef RGB_MATRIX_ENABLE | 4 | #ifdef RGB_MATRIX_ENABLE |
| 5 | #define RGB_LEFT_HAND { { 0 | ( 5 << 4) }, { 102, 0 }, 4}, \ | 5 | led_config_t g_led_config = { { |
| 6 | { { 0 | ( 4 << 4) }, { 81, 0 }, 4}, \ | 6 | { 5, 4, 3, 2, 1, 0 }, |
| 7 | { { 0 | ( 3 << 4) }, { 61, 0 }, 4}, \ | 7 | { 11, 10, 9, 8, 7, 6 }, |
| 8 | { { 0 | ( 2 << 4) }, { 41, 0 }, 4}, \ | 8 | { 17, 16, 15, 14, 13, 12 }, |
| 9 | { { 0 | ( 1 << 4) }, { 20, 0 }, 4}, \ | 9 | { 23, 22, 21, 20, 19, 18 }, |
| 10 | { { 0 | ( 0 << 4) }, { 0, 0 }, 1}, \ | 10 | { 29, 28, 27, 26, 25, 24 }, |
| 11 | { { 1 | ( 5 << 4) }, { 102, 16 }, 4}, \ | 11 | { 35, 34, 33, 32, 31, 30 }, |
| 12 | { { 1 | ( 4 << 4) }, { 81, 16 }, 4}, \ | 12 | { 41, 40, 39, 38, 37, 36 }, |
| 13 | { { 1 | ( 3 << 4) }, { 61, 16 }, 4}, \ | 13 | { 47, 46, 45, 44, 43, 42 }, |
| 14 | { { 1 | ( 2 << 4) }, { 41, 16 }, 4}, \ | 14 | { 53, 52, 51, 50, 49, 48 }, |
| 15 | { { 1 | ( 1 << 4) }, { 20, 16 }, 4}, \ | 15 | { 59, 58, 57, 56, 55, 54 } |
| 16 | { { 1 | ( 0 << 4) }, { 0, 16 }, 1}, \ | 16 | }, { |
| 17 | { { 2 | ( 5 << 4) }, { 102, 32 }, 4}, \ | 17 | // Left Hand |
| 18 | { { 2 | ( 4 << 4) }, { 81, 32 }, 4}, \ | 18 | { 102, 0 }, { 81, 0 }, { 61, 0 }, { 41, 0 }, { 20, 0 }, { 0, 0 }, |
| 19 | { { 2 | ( 3 << 4) }, { 61, 32 }, 4}, \ | 19 | { 102, 16 }, { 81, 16 }, { 61, 16 }, { 41, 16 }, { 20, 16 }, { 0, 16 }, |
| 20 | { { 2 | ( 2 << 4) }, { 41, 32 }, 4}, \ | 20 | { 102, 32 }, { 81, 32 }, { 61, 32 }, { 41, 32 }, { 20, 32 }, { 0, 32 }, |
| 21 | { { 2 | ( 1 << 4) }, { 20, 32 }, 4}, \ | 21 | { 102, 48 }, { 81, 48 }, { 61, 48 }, { 41, 48 }, { 20, 48 }, { 0, 48 }, |
| 22 | { { 2 | ( 0 << 4) }, { 0, 32 }, 1}, \ | 22 | { 102, 64 }, { 81, 64 }, { 61, 64 }, { 41, 64 }, { 20, 64 }, { 0, 64 }, |
| 23 | { { 3 | ( 5 << 4) }, { 102, 48 }, 4}, \ | 23 | // Right Hand |
| 24 | { { 3 | ( 4 << 4) }, { 81, 48 }, 4}, \ | 24 | { 224, 0 }, { 204, 0 }, { 183, 0 }, { 163, 0 }, { 143, 0 }, { 122, 0 }, |
| 25 | { { 3 | ( 3 << 4) }, { 61, 48 }, 4}, \ | 25 | { 224, 16 }, { 204, 16 }, { 183, 16 }, { 163, 16 }, { 143, 16 }, { 122, 16 }, |
| 26 | { { 3 | ( 2 << 4) }, { 41, 48 }, 4}, \ | 26 | { 224, 32 }, { 204, 32 }, { 183, 32 }, { 163, 32 }, { 143, 32 }, { 122, 32 }, |
| 27 | { { 3 | ( 1 << 4) }, { 20, 48 }, 4}, \ | 27 | { 224, 48 }, { 204, 48 }, { 183, 48 }, { 163, 48 }, { 143, 48 }, { 122, 48 }, |
| 28 | { { 3 | ( 0 << 4) }, { 0, 48 }, 1}, \ | 28 | { 224, 64 }, { 204, 64 }, { 183, 64 }, { 163, 64 }, { 143, 64 }, { 122, 64 } |
| 29 | { { 4 | ( 5 << 4) }, { 102, 64 }, 1}, \ | 29 | }, { |
| 30 | { { 4 | ( 4 << 4) }, { 81, 64 }, 1}, \ | ||
| 31 | { { 4 | ( 3 << 4) }, { 61, 64 }, 1}, \ | ||
| 32 | { { 4 | ( 2 << 4) }, { 41, 64 }, 1}, \ | ||
| 33 | { { 4 | ( 1 << 4) }, { 20, 64 }, 1}, \ | ||
| 34 | { { 4 | ( 0 << 4) }, { 0, 64 }, 1} | ||
| 35 | |||
| 36 | #define RGB_RIGHT_HAND { { 0 | (11 << 4) }, { 224, 0 }, 1}, \ | ||
| 37 | { { 0 | (10 << 4) }, { 204, 0 }, 4}, \ | ||
| 38 | { { 0 | ( 9 << 4) }, { 183, 0 }, 4}, \ | ||
| 39 | { { 0 | ( 8 << 4) }, { 163, 0 }, 4}, \ | ||
| 40 | { { 0 | ( 7 << 4) }, { 143, 0 }, 4}, \ | ||
| 41 | { { 0 | ( 6 << 4) }, { 122, 0 }, 4}, \ | ||
| 42 | { { 1 | (11 << 4) }, { 224, 16 }, 1}, \ | ||
| 43 | { { 1 | (10 << 4) }, { 204, 16 }, 4}, \ | ||
| 44 | { { 1 | ( 9 << 4) }, { 183, 16 }, 4}, \ | ||
| 45 | { { 1 | ( 8 << 4) }, { 163, 16 }, 4}, \ | ||
| 46 | { { 1 | ( 7 << 4) }, { 143, 16 }, 4}, \ | ||
| 47 | { { 1 | ( 6 << 4) }, { 122, 16 }, 4}, \ | ||
| 48 | { { 2 | (11 << 4) }, { 224, 32 }, 1}, \ | ||
| 49 | { { 2 | (10 << 4) }, { 204, 32 }, 4}, \ | ||
| 50 | { { 2 | ( 9 << 4) }, { 183, 32 }, 4}, \ | ||
| 51 | { { 2 | ( 8 << 4) }, { 163, 32 }, 4}, \ | ||
| 52 | { { 2 | ( 7 << 4) }, { 143, 32 }, 4}, \ | ||
| 53 | { { 2 | ( 6 << 4) }, { 122, 32 }, 4}, \ | ||
| 54 | { { 3 | (11 << 4) }, { 224, 48 }, 1}, \ | ||
| 55 | { { 3 | (10 << 4) }, { 204, 48 }, 4}, \ | ||
| 56 | { { 3 | ( 9 << 4) }, { 183, 48 }, 4}, \ | ||
| 57 | { { 3 | ( 8 << 4) }, { 163, 48 }, 4}, \ | ||
| 58 | { { 3 | ( 7 << 4) }, { 143, 48 }, 4}, \ | ||
| 59 | { { 3 | ( 6 << 4) }, { 122, 48 }, 4}, \ | ||
| 60 | { { 4 | (11 << 4) }, { 224, 64 }, 1}, \ | ||
| 61 | { { 4 | (10 << 4) }, { 204, 64 }, 1}, \ | ||
| 62 | { { 4 | ( 9 << 4) }, { 183, 64 }, 1}, \ | ||
| 63 | { { 4 | ( 8 << 4) }, { 163, 64 }, 1}, \ | ||
| 64 | { { 4 | ( 7 << 4) }, { 143, 64 }, 1}, \ | ||
| 65 | { { 4 | ( 6 << 4) }, { 122, 64 }, 1} | ||
| 66 | |||
| 67 | rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = { | ||
| 68 | // Left Hand | 30 | // Left Hand |
| 69 | RGB_LEFT_HAND | 31 | 4, 4, 4, 4, 4, 1, |
| 32 | 4, 4, 4, 4, 4, 1, | ||
| 33 | 4, 4, 4, 4, 4, 1, | ||
| 34 | 4, 4, 4, 4, 4, 1, | ||
| 35 | 1, 1, 1, 1, 1, 1, | ||
| 70 | // Right Hand | 36 | // Right Hand |
| 71 | //RGB_RIGHT_HAND | 37 | 4, 4, 4, 4, 4, 4, |
| 72 | }; | 38 | 1, 4, 4, 4, 4, 4, |
| 39 | 1, 4, 4, 4, 4, 4, | ||
| 40 | 1, 4, 4, 4, 4, 4, | ||
| 41 | 1, 1, 1, 1, 1, 1 | ||
| 42 | } }; | ||
| 73 | #endif | 43 | #endif |
diff --git a/keyboards/terrazzo/terrazzo.c b/keyboards/terrazzo/terrazzo.c index f079ded4d..2afda085b 100644 --- a/keyboards/terrazzo/terrazzo.c +++ b/keyboards/terrazzo/terrazzo.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include "terrazzo.h" | 17 | #include "terrazzo.h" |
| 18 | 18 | ||
| 19 | #ifdef LED_MATRIX_ENABLE | 19 | #ifdef LED_MATRIX_ENABLE |
| 20 | #include "is31fl3731-simple.h" | ||
| 21 | #include <math.h> | 20 | #include <math.h> |
| 22 | #include "print.h" | 21 | #include "print.h" |
| 23 | #include "quantum.h" | 22 | #include "quantum.h" |
diff --git a/keyboards/westfoxtrot/prophet/config.h b/keyboards/westfoxtrot/prophet/config.h index 4f447e4ca..0f2ddc1dc 100644 --- a/keyboards/westfoxtrot/prophet/config.h +++ b/keyboards/westfoxtrot/prophet/config.h | |||
| @@ -30,3 +30,5 @@ | |||
| 30 | #define LOCKING_SUPPORT_ENABLE | 30 | #define LOCKING_SUPPORT_ENABLE |
| 31 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
| 32 | #define LOCKING_RESYNC_ENABLE | 32 | #define LOCKING_RESYNC_ENABLE |
| 33 | |||
| 34 | #define SLEEP_LED_GPT_DRIVER GPTD1 | ||
diff --git a/keyboards/westfoxtrot/prophet/halconf.h b/keyboards/westfoxtrot/prophet/halconf.h new file mode 100644 index 000000000..cbfd1307f --- /dev/null +++ b/keyboards/westfoxtrot/prophet/halconf.h | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2020 QMK | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | /* | ||
| 18 | * This file was auto-generated by: | ||
| 19 | * `qmk chibios-confmigrate -i keyboards/projectkb/alice/halconf.h -r platforms/chibios/common/configs/halconf.h` | ||
| 20 | */ | ||
| 21 | |||
| 22 | #pragma once | ||
| 23 | |||
| 24 | #define HAL_USE_GPT TRUE | ||
| 25 | |||
| 26 | #include_next <halconf.h> | ||
| 27 | |||
diff --git a/keyboards/westfoxtrot/prophet/mcuconf.h b/keyboards/westfoxtrot/prophet/mcuconf.h index 2665f9c9e..550141af6 100644 --- a/keyboards/westfoxtrot/prophet/mcuconf.h +++ b/keyboards/westfoxtrot/prophet/mcuconf.h | |||
| @@ -23,6 +23,5 @@ | |||
| 23 | 23 | ||
| 24 | #include_next <mcuconf.h> | 24 | #include_next <mcuconf.h> |
| 25 | 25 | ||
| 26 | #undef STM32_PWM_USE_TIM3 | 26 | #undef STM32_GPT_USE_TIM1 |
| 27 | #define STM32_PWM_USE_TIM3 TRUE | 27 | #define STM32_GPT_USE_TIM1 TRUE |
| 28 | |||
