forked from mirrors/qmk_firmware
Migrate RGB Matrix config to info.json - G (#22859)
This commit is contained in:
parent
0870b796b4
commit
c7b59a96df
32 changed files with 395 additions and 626 deletions
|
@ -16,72 +16,10 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT 42
|
|
||||||
|
|
||||||
// PWM RGB Underglow Defines
|
|
||||||
#define WS2812_PWM_DRIVER PWMD3
|
#define WS2812_PWM_DRIVER PWMD3
|
||||||
#define WS2812_PWM_CHANNEL 2
|
#define WS2812_PWM_CHANNEL 2
|
||||||
#define WS2812_PWM_PAL_MODE 1
|
#define WS2812_PWM_PAL_MODE 1
|
||||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
|
||||||
#define WS2812_DMA_CHANNEL 3
|
#define WS2812_DMA_CHANNEL 3
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
// # define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
# define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
// # define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
// # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
// # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
// # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
// # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
// # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
// # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
// # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
# define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
// # define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
// # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
// # define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
// # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
// # define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
# define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
# define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
||||||
# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
# define RGB_MATRIX_DEFAULT_SAT 255
|
|
||||||
# define RGB_MATRIX_DEFAULT_VAL 192
|
|
||||||
# define RGB_MATRIX_DEFAULT_SPD 30
|
|
||||||
#endif //RGB_MATRIX_ENABLE
|
|
||||||
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
#define WAIT_FOR_USB
|
#define WAIT_FOR_USB
|
||||||
|
|
|
@ -16,7 +16,42 @@
|
||||||
"driver": "pwm"
|
"driver": "pwm"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
"driver": "ws2812"
|
"animations": {
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"animation": "cycle_up_down",
|
||||||
|
"sat": 255,
|
||||||
|
"speed": 30,
|
||||||
|
"val": 192
|
||||||
|
},
|
||||||
|
"driver": "ws2812",
|
||||||
|
"sleep": true
|
||||||
},
|
},
|
||||||
"processor": "STM32F072",
|
"processor": "STM32F072",
|
||||||
"bootloader": "stm32-dfu",
|
"bootloader": "stm32-dfu",
|
||||||
|
|
|
@ -1,63 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
||||||
|
|
||||||
#define LOCKING_SUPPORT_ENABL
|
#define LOCKING_SUPPORT_ENABL
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
# define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
# define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
# define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
# define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
# define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
# define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
// # define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
// # define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
// # define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
||||||
# define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
|
||||||
# define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SCL
|
|
||||||
# define DRIVER_1_LED_TOTAL 8
|
|
||||||
# define DRIVER_2_LED_TOTAL 0
|
|
||||||
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -9,6 +9,47 @@
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true
|
||||||
|
},
|
||||||
"driver": "is31fl3731"
|
"driver": "is31fl3731"
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
|
|
@ -33,19 +33,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// for "Generic" Promicro to be detected correctly as lefthand side (slave)
|
// for "Generic" Promicro to be detected correctly as lefthand side (slave)
|
||||||
#define SPLIT_USB_DETECT
|
#define SPLIT_USB_DETECT
|
||||||
|
|
||||||
# define RGBLIGHT_LAYERS
|
#define RGBLIGHT_LAYERS
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
/* ws2812 RGB MATRIX */
|
/* ws2812 RGB MATRIX */
|
||||||
# define RGB_MATRIX_LED_COUNT 123
|
|
||||||
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
|
||||||
|
|
||||||
// for all fingers used at once.
|
// for all fingers used at once.
|
||||||
# define LED_HITS_TO_REMEMBER 10
|
# define LED_HITS_TO_REMEMBER 10
|
||||||
|
|
||||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
// the max brightness setting has no effect on rgb_matrix_set_color().
|
||||||
|
|
||||||
// the above brighness setting has no effect on rgb_matrix_set_color().
|
|
||||||
// Use darker colors instead.
|
// Use darker colors instead.
|
||||||
/* RGB darker COLORS */
|
/* RGB darker COLORS */
|
||||||
# define RGB_DARKWHITE 0x66, 0x66, 0x66
|
# define RGB_DARKWHITE 0x66, 0x66, 0x66
|
||||||
|
@ -66,50 +61,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
# define RGB_DARKPURPLE 0x30, 0x0, 0x66
|
# define RGB_DARKPURPLE 0x30, 0x0, 0x66
|
||||||
# define RGB_DARKMAGENTA 0x66, 0x0, 0x66
|
# define RGB_DARKMAGENTA 0x66, 0x0, 0x66
|
||||||
# define RGB_DARKPINK 0x66, 0x33, 0x4C
|
# define RGB_DARKPINK 0x66, 0x33, 0x4C
|
||||||
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix
|
|
||||||
// Enable suspend mode.
|
|
||||||
// # define RGB_MATRIX_SLEEP
|
|
||||||
|
|
||||||
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
// #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
// #define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
// #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
// #define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
// # define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
// #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
// #define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
// #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
# define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
// #define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
// #define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
// #define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
// #define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
// #define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
# define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
// #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
#endif // RGB_MATRIX_ENABLE
|
#endif // RGB_MATRIX_ENABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -9,7 +9,15 @@
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
"driver": "ws2812"
|
"animations" :{
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"multisplash": true
|
||||||
|
},
|
||||||
|
"driver": "ws2812",
|
||||||
|
"max_brightness": 50
|
||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 123,
|
"led_count": 123,
|
||||||
|
|
|
@ -21,30 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
||||||
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC
|
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 32
|
|
||||||
#define DRIVER_2_LED_TOTAL 32
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
||||||
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 25
|
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 25
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,23 @@
|
||||||
"device_version": "30.3.1"
|
"device_version": "30.3.1"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
"driver": "is31fl3731"
|
"animations": {
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_multicross": true
|
||||||
|
},
|
||||||
|
"driver": "is31fl3731",
|
||||||
|
"react_on_keyup": true,
|
||||||
|
"sleep": true
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["B5", "C6", "C7", "F7", "F6", "D5", "D3", "D2", "F1", "F4", "B7", "F5"],
|
"cols": ["B5", "C6", "C7", "F7", "F6", "D5", "D3", "D2", "F1", "F4", "B7", "F5"],
|
||||||
|
|
|
@ -3,59 +3,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT 16
|
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
/* Locking resynchronize hack */
|
/* Locking resynchronize hack */
|
||||||
|
|
|
@ -36,6 +36,51 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
"driver": "ws2812",
|
"driver": "ws2812",
|
||||||
"layout": [
|
"layout": [
|
||||||
{"flags": 4, "matrix": [1, 0], "x": 28, "y": 12},
|
{"flags": 4, "matrix": [1, 0], "x": 28, "y": 12},
|
||||||
|
@ -54,7 +99,8 @@
|
||||||
{"flags": 2, "x": 84, "y": 60},
|
{"flags": 2, "x": 84, "y": 60},
|
||||||
{"flags": 2, "x": 140, "y": 60},
|
{"flags": 2, "x": 140, "y": 60},
|
||||||
{"flags": 2, "x": 196, "y": 60}
|
{"flags": 2, "x": 196, "y": 60}
|
||||||
]
|
],
|
||||||
|
"sleep": true
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "GP19",
|
"pin": "GP19",
|
||||||
|
|
|
@ -11,9 +11,6 @@
|
||||||
"qmk": {
|
"qmk": {
|
||||||
"tap_keycode_delay": 10
|
"tap_keycode_delay": 10
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"]
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
/* Locking resynchronize hack */
|
/* Locking resynchronize hack */
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
|
|
||||||
/* SPI Config for LED Driver */
|
/* SPI Config for LED Driver */
|
||||||
#define SPI_DRIVER SPIDM2
|
#define SPI_DRIVER SPIDM2
|
||||||
#define SPI_SCK_PIN B13
|
#define SPI_SCK_PIN B13
|
||||||
|
@ -33,58 +31,3 @@
|
||||||
#define AW20216S_CS_PIN_2 B9
|
#define AW20216S_CS_PIN_2 B9
|
||||||
#define AW20216S_EN_PIN_1 C13
|
#define AW20216S_EN_PIN_1 C13
|
||||||
#define AW20216S_EN_PIN_2 C13
|
#define AW20216S_EN_PIN_2 C13
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 54
|
|
||||||
#define DRIVER_2_LED_TOTAL 34
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
||||||
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
51
keyboards/gmmk/gmmk2/p65/info.json
Normal file
51
keyboards/gmmk/gmmk2/p65/info.json
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
|
"driver": "aw20216s",
|
||||||
|
"sleep": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,9 +11,6 @@
|
||||||
"qmk": {
|
"qmk": {
|
||||||
"tap_keycode_delay": 10
|
"tap_keycode_delay": 10
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8"]
|
||||||
|
|
|
@ -11,9 +11,6 @@
|
||||||
"qmk": {
|
"qmk": {
|
||||||
"tap_keycode_delay": 10
|
"tap_keycode_delay": 10
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
/* Locking resynchronize hack */
|
/* Locking resynchronize hack */
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
|
|
||||||
/* External spi flash */
|
/* External spi flash */
|
||||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B14
|
||||||
|
|
||||||
|
@ -36,56 +34,3 @@
|
||||||
#define AW20216S_CS_PIN_2 B15
|
#define AW20216S_CS_PIN_2 B15
|
||||||
#define AW20216S_EN_PIN_1 C13
|
#define AW20216S_EN_PIN_1 C13
|
||||||
#define AW20216S_EN_PIN_2 C13
|
#define AW20216S_EN_PIN_2 C13
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 66
|
|
||||||
#define DRIVER_2_LED_TOTAL 54
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
||||||
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
51
keyboards/gmmk/gmmk2/p96/info.json
Normal file
51
keyboards/gmmk/gmmk2/p96/info.json
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
|
"driver": "aw20216s",
|
||||||
|
"sleep": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,9 +11,6 @@
|
||||||
"qmk": {
|
"qmk": {
|
||||||
"tap_keycode_delay": 10
|
"tap_keycode_delay": 10
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10", "B11", "B12", "B13"]
|
||||||
|
|
|
@ -32,50 +32,4 @@
|
||||||
#define AW20216S_EN_PIN_1 A15
|
#define AW20216S_EN_PIN_1 A15
|
||||||
#define AW20216S_PW_EN_PIN_1 B13
|
#define AW20216S_PW_EN_PIN_1 B13
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT 31
|
|
||||||
|
|
||||||
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B6
|
#define EXTERNAL_FLASH_SPI_SLAVE_SELECT_PIN B6
|
||||||
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
|
@ -21,6 +21,51 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
"driver": "aw20216s"
|
"driver": "aw20216s"
|
||||||
},
|
},
|
||||||
"processor": "WB32F3G71",
|
"processor": "WB32F3G71",
|
||||||
|
|
|
@ -30,54 +30,3 @@
|
||||||
#define AW20216S_CS_PIN_2 B14
|
#define AW20216S_CS_PIN_2 B14
|
||||||
#define AW20216S_EN_PIN_1 C13
|
#define AW20216S_EN_PIN_1 C13
|
||||||
#define AW20216S_EN_PIN_2 C13
|
#define AW20216S_EN_PIN_2 C13
|
||||||
|
|
||||||
#define RGB_MATRIX_SLEEP
|
|
||||||
|
|
||||||
// RGB Matrix Animation modes. Explicitly enabled
|
|
||||||
// For full list of effects, see:
|
|
||||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FLOW
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
|
|
||||||
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
||||||
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
|
|
||||||
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
|
|
51
keyboards/gmmk/pro/info.json
Normal file
51
keyboards/gmmk/pro/info.json
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"rgb_matrix": {
|
||||||
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"pixel_flow": true,
|
||||||
|
"pixel_fractal": true,
|
||||||
|
"typing_heatmap": true,
|
||||||
|
"digital_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
|
"driver": "aw20216s",
|
||||||
|
"sleep": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,22 +0,0 @@
|
||||||
/* Copyright 2021 Gigahawk
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 66
|
|
||||||
#define DRIVER_2_LED_TOTAL 32
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
|
@ -8,9 +8,6 @@
|
||||||
"pid": "0x5044",
|
"pid": "0x5044",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
/* Copyright 2021 Jasper Chan
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 66
|
|
||||||
#define DRIVER_2_LED_TOTAL 33
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
|
@ -8,9 +8,6 @@
|
||||||
"pid": "0x5044",
|
"pid": "0x5044",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 66
|
|
||||||
#define DRIVER_2_LED_TOTAL 32
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
|
@ -8,9 +8,6 @@
|
||||||
"pid": "0x5044",
|
"pid": "0x5044",
|
||||||
"device_version": "0.0.2"
|
"device_version": "0.0.2"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
|
|
||||||
#define DRIVER_1_LED_TOTAL 66
|
|
||||||
#define DRIVER_2_LED_TOTAL 33
|
|
||||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
|
|
@ -8,9 +8,6 @@
|
||||||
"pid": "0x5044",
|
"pid": "0x5044",
|
||||||
"device_version": "0.0.2"
|
"device_version": "0.0.2"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
|
||||||
"driver": "aw20216s"
|
|
||||||
},
|
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A8", "A9", "A10"],
|
||||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"]
|
||||||
|
|
|
@ -18,52 +18,3 @@
|
||||||
|
|
||||||
/* Use the custom font */
|
/* Use the custom font */
|
||||||
#define OLED_FONT_H "lib/glcdfont.c"
|
#define OLED_FONT_H "lib/glcdfont.c"
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
|
||||||
/* RGB Matrix config */
|
|
||||||
#define RGB_MATRIX_LED_COUNT 100
|
|
||||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
|
||||||
|
|
||||||
/* RGB Matrix effect */
|
|
||||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
|
|
||||||
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_ALL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
|
|
||||||
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
|
|
||||||
#define ENABLE_RGB_MATRIX_DUAL_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
|
|
||||||
#define ENABLE_RGB_MATRIX_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_BREATHING
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_PENDULUM
|
|
||||||
#define ENABLE_RGB_MATRIX_HUE_WAVE
|
|
||||||
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
|
|
||||||
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
|
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -13,7 +13,49 @@
|
||||||
"pin": "E2"
|
"pin": "E2"
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
"driver": "ws2812"
|
"animations": {
|
||||||
|
"alphas_mods": true,
|
||||||
|
"gradient_up_down": true,
|
||||||
|
"gradient_left_right": true,
|
||||||
|
"breathing": true,
|
||||||
|
"band_sat": true,
|
||||||
|
"band_val": true,
|
||||||
|
"band_pinwheel_sat": true,
|
||||||
|
"band_pinwheel_val": true,
|
||||||
|
"band_spiral_sat": true,
|
||||||
|
"band_spiral_val": true,
|
||||||
|
"cycle_all": true,
|
||||||
|
"cycle_left_right": true,
|
||||||
|
"cycle_up_down": true,
|
||||||
|
"rainbow_moving_chevron": true,
|
||||||
|
"cycle_out_in": true,
|
||||||
|
"cycle_out_in_dual": true,
|
||||||
|
"cycle_pinwheel": true,
|
||||||
|
"cycle_spiral": true,
|
||||||
|
"dual_beacon": true,
|
||||||
|
"rainbow_beacon": true,
|
||||||
|
"rainbow_pinwheels": true,
|
||||||
|
"raindrops": true,
|
||||||
|
"jellybean_raindrops": true,
|
||||||
|
"hue_breathing": true,
|
||||||
|
"hue_pendulum": true,
|
||||||
|
"hue_wave": true,
|
||||||
|
"pixel_rain": true,
|
||||||
|
"solid_reactive_simple": true,
|
||||||
|
"solid_reactive": true,
|
||||||
|
"solid_reactive_wide": true,
|
||||||
|
"solid_reactive_multiwide": true,
|
||||||
|
"solid_reactive_cross": true,
|
||||||
|
"solid_reactive_multicross": true,
|
||||||
|
"solid_reactive_nexus": true,
|
||||||
|
"solid_reactive_multinexus": true,
|
||||||
|
"splash": true,
|
||||||
|
"multisplash": true,
|
||||||
|
"solid_splash": true,
|
||||||
|
"solid_multisplash": true
|
||||||
|
},
|
||||||
|
"driver": "ws2812",
|
||||||
|
"max_brightness": 150
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "C7", "E6", "D2", "D3"],
|
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "C7", "E6", "D2", "D3"],
|
||||||
|
|
Loading…
Reference in a new issue