diff options
Diffstat (limited to 'keyboards/cannonkeys/tmov2/config.h')
-rw-r--r-- | keyboards/cannonkeys/tmov2/config.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index d8d95ae552..c3c07bea1a 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h @@ -33,6 +33,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { A10, A9, A8, B12 } #define DIODE_DIRECTION COL2ROW +#define BACKLIGHT_PIN A6 +#define BACKLIGHT_PWM_DRIVER PWMD3 +#define BACKLIGHT_PWM_CHANNEL 1 +#define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_LEVELS 6 #define BACKLIGHT_BREATHING #define BREATHING_PERIOD 6 @@ -49,22 +53,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LOCKING_RESYNC_ENABLE #define RGBLIGHT_ANIMATIONS - -#define WS2812_LED_N 22 -#define RGBLED_NUM WS2812_LED_N -#define PORT_WS2812 GPIOB -#define PIN_WS2812 15 +#define RGB_DI_PIN B15 +#define RGBLED_NUM 22 #define WS2812_SPI SPID2 - -// Backlight config starts after VIA's EEPROM usage, -// dynamic keymaps start after this. -#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 1 - -// VIA lighting is handled by the keyboard-level code -#define VIA_CUSTOM_LIGHTING_ENABLE - -// Let VIA handle the QMK RGBLIGHT -#define VIA_QMK_RGBLIGHT_ENABLE +#define WS2812_SPI_MOSI_PAL_MODE 0 /* * Feature disable options |