mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 20:32:58 +00:00
Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
parent
71c22a12db
commit
47966dc2a6
@ -73,7 +73,6 @@
|
|||||||
"PS2_DATA_PIN": {"info_key": "ps2.data_pin"},
|
"PS2_DATA_PIN": {"info_key": "ps2.data_pin"},
|
||||||
"RETRO_TAPPING": {"info_key": "tapping.retro", "value_type": "bool"},
|
"RETRO_TAPPING": {"info_key": "tapping.retro", "value_type": "bool"},
|
||||||
"RETRO_TAPPING_PER_KEY": {"info_key": "tapping.retro_per_key", "value_type": "bool"},
|
"RETRO_TAPPING_PER_KEY": {"info_key": "tapping.retro_per_key", "value_type": "bool"},
|
||||||
"RGB_DI_PIN": {"info_key": "rgblight.pin"},
|
|
||||||
"RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
|
"RGBLED_NUM": {"info_key": "rgblight.led_count", "value_type": "int"},
|
||||||
"RGBLED_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
|
"RGBLED_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
|
||||||
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "bool"},
|
"RGBLIGHT_LAYER_BLINK": {"info_key": "rgblight.layers.blink", "value_type": "bool"},
|
||||||
@ -120,10 +119,12 @@
|
|||||||
"USB_MAX_POWER_CONSUMPTION": {"info_key": "usb.max_power", "value_type": "int"},
|
"USB_MAX_POWER_CONSUMPTION": {"info_key": "usb.max_power", "value_type": "int"},
|
||||||
"USB_POLLING_INTERVAL_MS": {"info_key": "usb.polling_interval", "value_type": "int"},
|
"USB_POLLING_INTERVAL_MS": {"info_key": "usb.polling_interval", "value_type": "int"},
|
||||||
"USB_SUSPEND_WAKEUP_DELAY": {"info_key": "usb.suspend_wakeup_delay", "value_type": "int"},
|
"USB_SUSPEND_WAKEUP_DELAY": {"info_key": "usb.suspend_wakeup_delay", "value_type": "int"},
|
||||||
|
"WS2812_DI_PIN": {"info_key": "ws2812.pin"},
|
||||||
"WS2812_I2C_ADDRESS": {"info_key": "ws2812.i2c_address", "value_type": "hex"},
|
"WS2812_I2C_ADDRESS": {"info_key": "ws2812.i2c_address", "value_type": "hex"},
|
||||||
"WS2812_I2C_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"},
|
"WS2812_I2C_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"},
|
||||||
|
|
||||||
// Items we want flagged in lint
|
// Items we want flagged in lint
|
||||||
|
"RGB_DI_PIN": {"info_key": "rgblight.pin", "invalid": true, "replace_with": "WS2812_DI_PIN or APA102_DI_PIN"},
|
||||||
"NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true},
|
"NO_ACTION_MACRO": {"info_key": "_invalid.no_action_macro", "invalid": true},
|
||||||
"NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
|
"NO_ACTION_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
|
||||||
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},
|
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},
|
||||||
|
@ -492,7 +492,10 @@
|
|||||||
},
|
},
|
||||||
"led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
"led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
||||||
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
|
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
|
||||||
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
|
"pin": {
|
||||||
|
"$ref": "qmk.definitions.v1#/mcu_pin",
|
||||||
|
"$comment": "Deprecated: use ws2812.pin instead"
|
||||||
|
},
|
||||||
"rgbw": {"type": "boolean"},
|
"rgbw": {"type": "boolean"},
|
||||||
"saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
"saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
|
||||||
"sleep": {"type": "boolean"},
|
"sleep": {"type": "boolean"},
|
||||||
@ -715,6 +718,7 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"]
|
"enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"]
|
||||||
},
|
},
|
||||||
|
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
|
||||||
"i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"},
|
"i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"},
|
||||||
"i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
|
"i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
|
||||||
}
|
}
|
||||||
|
@ -214,7 +214,7 @@ If you define these options you will enable the associated feature, which may in
|
|||||||
|
|
||||||
## RGB Light Configuration
|
## RGB Light Configuration
|
||||||
|
|
||||||
* `#define RGB_DI_PIN D7`
|
* `#define WS2812_DI_PIN D7`
|
||||||
* pin the DI on the WS2812 is hooked-up to
|
* pin the DI on the WS2812 is hooked-up to
|
||||||
* `#define RGBLIGHT_LAYERS`
|
* `#define RGBLIGHT_LAYERS`
|
||||||
* Lets you define [lighting layers](feature_rgblight.md?id=lighting-layers) that can be toggled on or off. Great for showing the current keyboard layer or caps lock state.
|
* Lets you define [lighting layers](feature_rgblight.md?id=lighting-layers) that can be toggled on or off. Great for showing the current keyboard layer or caps lock state.
|
||||||
@ -230,7 +230,7 @@ If you define these options you will enable the associated feature, which may in
|
|||||||
* `#define RGBLIGHT_SPLIT`
|
* `#define RGBLIGHT_SPLIT`
|
||||||
* Needed if both halves of the board have RGB LEDs wired directly to the RGB output pin on the controllers instead of passing the output of the left half to the input of the right half
|
* Needed if both halves of the board have RGB LEDs wired directly to the RGB output pin on the controllers instead of passing the output of the left half to the input of the right half
|
||||||
* `#define RGBLED_SPLIT { 6, 6 }`
|
* `#define RGBLED_SPLIT { 6, 6 }`
|
||||||
* number of LEDs connected that are directly wired to `RGB_DI_PIN` on each half of a split keyboard
|
* number of LEDs connected that are directly wired to the RGB pin on each half of a split keyboard
|
||||||
* First value indicates number of LEDs for left half, second value is for the right half
|
* First value indicates number of LEDs for left half, second value is for the right half
|
||||||
* When RGBLED_SPLIT is defined, RGBLIGHT_SPLIT is implicitly defined.
|
* When RGBLED_SPLIT is defined, RGBLIGHT_SPLIT is implicitly defined.
|
||||||
* `#define RGBLIGHT_HUE_STEP 12`
|
* `#define RGBLIGHT_HUE_STEP 12`
|
||||||
|
@ -361,7 +361,7 @@ Configure the hardware via your `config.h`:
|
|||||||
|
|
||||||
```c
|
```c
|
||||||
// The pin connected to the data pin of the LEDs
|
// The pin connected to the data pin of the LEDs
|
||||||
#define RGB_DI_PIN D7
|
#define WS2812_DI_PIN D7
|
||||||
// The number of LEDs connected
|
// The number of LEDs connected
|
||||||
#define RGB_MATRIX_LED_COUNT 70
|
#define RGB_MATRIX_LED_COUNT 70
|
||||||
```
|
```
|
||||||
|
@ -33,13 +33,13 @@ RGBLIGHT_DRIVER = APA102
|
|||||||
|
|
||||||
At minimum you must define the data pin your LED strip is connected to, and the number of LEDs in the strip, in your `config.h`. For APA102 LEDs, you must also define the clock pin. If your keyboard has onboard RGB LEDs, and you are simply creating a keymap, you usually won't need to modify these.
|
At minimum you must define the data pin your LED strip is connected to, and the number of LEDs in the strip, in your `config.h`. For APA102 LEDs, you must also define the clock pin. If your keyboard has onboard RGB LEDs, and you are simply creating a keymap, you usually won't need to modify these.
|
||||||
|
|
||||||
|Define |Description |
|
|Define |Description |
|
||||||
|---------------|---------------------------------------------------------------------------------------------------------|
|
|---------------|-------------------------------------------------------------------------|
|
||||||
|`RGB_DI_PIN` |The pin connected to the data pin of the LEDs (WS2812) |
|
|`WS2812_DI_PIN`|The pin connected to the data pin of the LEDs (WS2812) |
|
||||||
|`APA102_DI_PIN`|The pin connected to the data pin of the LEDs (APA102) |
|
|`APA102_DI_PIN`|The pin connected to the data pin of the LEDs (APA102) |
|
||||||
|`APA102_CI_PIN`|The pin connected to the clock pin of the LEDs (APA102) |
|
|`APA102_CI_PIN`|The pin connected to the clock pin of the LEDs (APA102) |
|
||||||
|`RGBLED_NUM` |The number of LEDs connected |
|
|`RGBLED_NUM` |The number of LEDs connected |
|
||||||
|`RGBLED_SPLIT` |(Optional) For split keyboards, the number of LEDs connected on each half directly wired to `RGB_DI_PIN` |
|
|`RGBLED_SPLIT` |(Optional) For split keyboards, the number of LEDs connected on each half|
|
||||||
|
|
||||||
Then you should be able to use the keycodes below to change the RGB lighting to your liking.
|
Then you should be able to use the keycodes below to change the RGB lighting to your liking.
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ Configure the hardware via your config.h:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### SPI
|
### SPI
|
||||||
Targeting STM32 boards where WS2812 support is offloaded to an SPI hardware device. The advantage is that the use of DMA offloads processing of the WS2812 protocol from the MCU. `RGB_DI_PIN` for this driver is the configured SPI MOSI pin. Due to the nature of repurposing SPI to drive the LEDs, the other SPI pins, MISO and SCK, **must** remain unused. To configure it, add this to your rules.mk:
|
Targeting STM32 boards where WS2812 support is offloaded to an SPI hardware device. The advantage is that the use of DMA offloads processing of the WS2812 protocol from the MCU. `WS2812_DI_PIN` for this driver is the configured SPI MOSI pin. Due to the nature of repurposing SPI to drive the LEDs, the other SPI pins, MISO and SCK, **must** remain unused. To configure it, add this to your rules.mk:
|
||||||
|
|
||||||
```make
|
```make
|
||||||
WS2812_DRIVER = spi
|
WS2812_DRIVER = spi
|
||||||
@ -183,7 +183,7 @@ This can be configured for bitbang, PWM and SPI.
|
|||||||
|
|
||||||
Note: This only applies to STM32 boards.
|
Note: This only applies to STM32 boards.
|
||||||
|
|
||||||
To configure the `RGB_DI_PIN` to open drain configuration add this to your config.h file:
|
To configure the `WS2812_DI_PIN` to open drain configuration add this to your config.h file:
|
||||||
```c
|
```c
|
||||||
#define WS2812_EXTERNAL_PULLUP
|
#define WS2812_EXTERNAL_PULLUP
|
||||||
```
|
```
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
|
|
||||||
/* underglow */
|
/* underglow */
|
||||||
#define RGB_DI_PIN B6
|
|
||||||
#define RGBLED_NUM 24
|
#define RGBLED_NUM 24
|
||||||
#define RGBLIGHT_LIMIT_VAL 185 // limit max I to 400mA
|
#define RGBLIGHT_LIMIT_VAL 185 // limit max I to 400mA
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
|
@ -5,5 +5,8 @@
|
|||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"rgblight": true
|
"rgblight": true
|
||||||
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define TAP_CODE_DELAY 10
|
#define TAP_CODE_DELAY 10
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
#define RGBLED_NUM 4
|
#define RGBLED_NUM 4
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
"qmk_lufa_bootloader": {
|
"qmk_lufa_bootloader": {
|
||||||
"led": "B0"
|
"led": "B0"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "qmk-dfu",
|
"bootloader": "qmk-dfu",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D0
|
|
||||||
|
|
||||||
#define RGB_MATRIX_LED_COUNT 18
|
#define RGB_MATRIX_LED_COUNT 18
|
||||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
|
||||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING
|
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING
|
||||||
|
@ -62,6 +62,9 @@
|
|||||||
{ "flags": 4, "matrix": [0, 3], "x": 163, "y": 64 }
|
{ "flags": 4, "matrix": [0, 3], "x": 163, "y": 64 }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D0"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_36": {
|
"LAYOUT_36": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3 // LED data pin on controller
|
|
||||||
#define RGBLED_NUM 4 // Number of LEDs connected
|
#define RGBLED_NUM 4 // Number of LEDs connected
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by
|
#define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
"bootmagic": {
|
"bootmagic": {
|
||||||
"matrix": [1, 0]
|
"matrix": [1, 0]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define SSD1306OLED
|
#define SSD1306OLED
|
||||||
#define RGB_DI_PIN B7
|
|
||||||
|
|
||||||
#define RGBLED_NUM 4
|
#define RGBLED_NUM 4
|
||||||
|
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x7C99",
|
"pid": "0x7C99",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B7"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["D6", "D7", "B5"],
|
"cols": ["D6", "D7", "B5"],
|
||||||
"rows": ["F0", "F5", "F4", "F6"]
|
"rows": ["F0", "F5", "F4", "F6"]
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGBLED_NUM 1
|
#define RGBLED_NUM 1
|
||||||
#define RGB_DI_PIN B2
|
|
||||||
|
|
||||||
// Save as much space as we can...
|
// Save as much space as we can...
|
||||||
#define LAYER_STATE_8BIT
|
#define LAYER_STATE_8BIT
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0001",
|
"pid": "0x0001",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B2"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"direct": [
|
"direct": [
|
||||||
["B0"]
|
["B0"]
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN F0
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
"levels": 5,
|
"levels": 5,
|
||||||
"breathing": true
|
"breathing": true
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "F0"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"community_layouts": ["60_ansi"],
|
"community_layouts": ["60_ansi"],
|
||||||
|
@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
/* Locking resynchronize hack */
|
/* Locking resynchronize hack */
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
#define RGB_DI_PIN F0
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
"caps_lock": "B6",
|
"caps_lock": "B6",
|
||||||
"on_state": 0
|
"on_state": 0
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "F0"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layout_aliases": {
|
"layout_aliases": {
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
/* Locking resynchronize hack */
|
/* Locking resynchronize hack */
|
||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
#define RGB_DI_PIN E2
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
"pin": "B6",
|
"pin": "B6",
|
||||||
"levels": 5
|
"levels": 5
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "E2"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],
|
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#define OLED_BRIGHTNESS 128
|
#define OLED_BRIGHTNESS 128
|
||||||
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"
|
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"
|
||||||
|
|
||||||
#define RGB_DI_PIN GP0
|
|
||||||
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
# define RGBLIGHT_LIMIT_VAL 150
|
# define RGBLIGHT_LIMIT_VAL 150
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"layer_count": 10
|
"layer_count": 10
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP0",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"layer_count": 10
|
"layer_count": 10
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP0",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"layer_count": 10
|
"layer_count": 10
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP0",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
||||||
|
|
||||||
#define RGB_DI_PIN GP17
|
|
||||||
#define RGB_MATRIX_LED_COUNT 21
|
#define RGB_MATRIX_LED_COUNT 21
|
||||||
//#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
//#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
//#define RGB_MATRIX_KEYPRESSES
|
//#define RGB_MATRIX_KEYPRESSES
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
"rgblight": false
|
"rgblight": false
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP17",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
||||||
#define RGB_DI_PIN GP15
|
|
||||||
#define RGB_MATRIX_LED_COUNT 16
|
#define RGB_MATRIX_LED_COUNT 16
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
"rgblight": false
|
"rgblight": false
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP15",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
#define RGB_DI_PIN GP19
|
|
||||||
#define RGB_MATRIX_LED_COUNT 61
|
#define RGB_MATRIX_LED_COUNT 61
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
"rgblight": false
|
"rgblight": false
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP19",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
# define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
|
# define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
|
||||||
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||||
# ifdef RGBLIGHT_ENABLE
|
# ifdef RGBLIGHT_ENABLE
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x5516",
|
"pid": "0x5516",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["D4", "C6", "F6", "F7"],
|
"cols": ["D4", "C6", "F6", "F7"],
|
||||||
"rows": ["D1", "D0", "F4", "F5"]
|
"rows": ["D1", "D0", "F4", "F5"]
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#define MOUSEKEY_MOVE_DELTA 25
|
#define MOUSEKEY_MOVE_DELTA 25
|
||||||
|
|
||||||
#define RGB_DI_PIN B5
|
|
||||||
#define RGB_MATRIX_LED_COUNT 20
|
#define RGB_MATRIX_LED_COUNT 20
|
||||||
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||||
# define RGBLIGHT_LIMIT_VAL 255
|
# define RGBLIGHT_LIMIT_VAL 255
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x5517",
|
"pid": "0x5517",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B5"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["D5", "D6", "C2", "D0"],
|
"cols": ["D5", "D6", "C2", "D0"],
|
||||||
"rows": ["D1", "D2", "D3", "D4"]
|
"rows": ["D1", "D2", "D3", "D4"]
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Underglow options */
|
/* Underglow options */
|
||||||
#define RGB_DI_PIN B1
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
"pid": "0x0161",
|
"pid": "0x0161",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B1"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["D1", "D0", "D4", "C6"],
|
"cols": ["D1", "D0", "D4", "C6"],
|
||||||
"rows": ["F4", "F5", "F6", "F7"]
|
"rows": ["F4", "F5", "F6", "F7"]
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
||||||
#define RGB_DI_PIN GP6
|
|
||||||
#define RGB_MATRIX_LED_COUNT 20
|
#define RGB_MATRIX_LED_COUNT 20
|
||||||
#define RGBLED_NUM 20
|
#define RGBLED_NUM 20
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
"rgblight": false
|
"rgblight": false
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP6",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
|
||||||
|
|
||||||
#define RGB_DI_PIN D7
|
|
||||||
#define RGB_MATRIX_LED_COUNT 20
|
#define RGB_MATRIX_LED_COUNT 20
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
"rgb_matrix": true,
|
"rgb_matrix": true,
|
||||||
"rgblight": false
|
"rgblight": false
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D7"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["F7", "D2", "B1", "C6"],
|
"cols": ["F7", "D2", "B1", "C6"],
|
||||||
"rows": ["D1", "B5", "B4", "E6"]
|
"rows": ["D1", "B5", "B4", "E6"]
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN C7
|
|
||||||
#define RGBLED_NUM 6
|
#define RGBLED_NUM 6
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
{"pin_a": "B5", "pin_b": "B4"}
|
{"pin_a": "B5", "pin_b": "B4"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "C7"
|
||||||
|
},
|
||||||
"processor": "atmega32u2",
|
"processor": "atmega32u2",
|
||||||
"bootloader": "atmel-dfu"
|
"bootloader": "atmel-dfu"
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN B3
|
|
||||||
#define RGBLED_NUM 8
|
#define RGBLED_NUM 8
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
{"pin_a": "F5", "pin_b": "F6"}
|
{"pin_a": "F5", "pin_b": "F6"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B3"
|
||||||
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"pin": "C6",
|
"pin": "C6",
|
||||||
"levels": 8,
|
"levels": 8,
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
# define RGBLED_NUM 5
|
# define RGBLED_NUM 5
|
||||||
# define RGBLIGHT_HUE_STEP 8
|
# define RGBLIGHT_HUE_STEP 8
|
||||||
# define RGBLIGHT_SAT_STEP 8
|
# define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
{"pin_a": "B3", "pin_b": "B1"}
|
{"pin_a": "B3", "pin_b": "B1"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define MASTER_RIGHT
|
//#define MASTER_RIGHT
|
||||||
//#define EE_HANDS
|
//#define EE_HANDS
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Feature disable options
|
* Feature disable options
|
||||||
* These options are also useful to firmware size reduction.
|
* These options are also useful to firmware size reduction.
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"split": {
|
"split": {
|
||||||
"soft_serial_pin": "D2"
|
"soft_serial_pin": "D2"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"layout_aliases": {
|
"layout_aliases": {
|
||||||
"LAYOUT": "LAYOUT_ortho_4x12"
|
"LAYOUT": "LAYOUT_ortho_4x12"
|
||||||
},
|
},
|
||||||
|
@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define MASTER_RIGHT
|
//#define MASTER_RIGHT
|
||||||
//#define EE_HANDS
|
//#define EE_HANDS
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Feature disable options
|
* Feature disable options
|
||||||
* These options are also useful to firmware size reduction.
|
* These options are also useful to firmware size reduction.
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"split": {
|
"split": {
|
||||||
"soft_serial_pin": "D2"
|
"soft_serial_pin": "D2"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_ortho_4x12": {
|
"LAYOUT_ortho_4x12": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#define RGB_DI_PIN C6
|
|
||||||
# define RGBLIGHT_EFFECT_BREATHING
|
# define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
{"pin_a": "D0", "pin_b": "D1", "resolution": 1}
|
{"pin_a": "D0", "pin_b": "D1", "resolution": 1}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "C6"
|
||||||
|
},
|
||||||
"processor": "atmega32u2",
|
"processor": "atmega32u2",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* RGB matrix key backlighting */
|
/* RGB matrix key backlighting */
|
||||||
#define RGB_DI_PIN B2
|
|
||||||
#define RGB_MATRIX_LED_COUNT 2
|
#define RGB_MATRIX_LED_COUNT 2
|
||||||
#define RGB_MATRIX_KEYPRESSES
|
#define RGB_MATRIX_KEYPRESSES
|
||||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE
|
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
"indicators": {
|
"indicators": {
|
||||||
"caps_lock": "B7"
|
"caps_lock": "B7"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B2"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#undef RGB_DI_PIN
|
#undef WS2812_DI_PIN
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
#define RGB_DI_PIN D2
|
#define WS2812_DI_PIN D2
|
||||||
# define RGBLIGHT_EFFECT_BREATHING
|
# define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#undef RGB_DI_PIN
|
#undef WS2812_DI_PIN
|
||||||
#undef RGBLED_NUM
|
#undef RGBLED_NUM
|
||||||
#define RGB_DI_PIN D3
|
#define WS2812_DI_PIN D3
|
||||||
# define RGBLIGHT_EFFECT_BREATHING
|
# define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
/* ws2812 RGB LED */
|
||||||
#define RGB_DI_PIN B4
|
|
||||||
# define RGBLIGHT_EFFECT_BREATHING
|
# define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
"pin": "B5",
|
"pin": "B5",
|
||||||
"levels": 4
|
"levels": 4
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B4"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"community_layouts": ["60_ansi"],
|
"community_layouts": ["60_ansi"],
|
||||||
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
/* ws2812 RGB LED */
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
# define RGBLIGHT_EFFECT_BREATHING
|
# define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0007",
|
"pid": "0x0007",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// enable RGB underglow
|
// enable RGB underglow
|
||||||
#define RGB_DI_PIN B4
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
"backlight": {
|
"backlight": {
|
||||||
"pin": "B5"
|
"pin": "B5"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B4"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"community_layouts": ["ortho_4x4", "ortho_4x12"],
|
"community_layouts": ["ortho_4x4", "ortho_4x12"],
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#define PERMISSIVE_HOLD
|
#define PERMISSIVE_HOLD
|
||||||
|
|
||||||
/* setup lighting */
|
/* setup lighting */
|
||||||
#define RGB_DI_PIN B5
|
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x546F",
|
"pid": "0x546F",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "B5"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
|
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
|
||||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||||
|
@ -28,5 +28,5 @@
|
|||||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
#define RGBLIGHT_EFFECT_TWINKLE
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||||||
#define RGB_DI_PIN D3 // The pin the LED strip is connected to
|
#define WS2812_DI_PIN D3 // The pin the LED strip is connected to
|
||||||
#define RGBLED_NUM 7 // Number of LEDs in your strip
|
#define RGBLED_NUM 7 // Number of LEDs in your strip
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
#define RGBLED_NUM 12
|
#define RGBLED_NUM 12
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0001",
|
"pid": "0x0001",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["C4", "C6", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D2", "D1"],
|
"cols": ["C4", "C6", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D2", "D1"],
|
||||||
"rows": ["C2", "D0", "B0", "C7", "C5"]
|
"rows": ["C2", "D0", "B0", "C7", "C5"]
|
||||||
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define RGBLED_NUM 12
|
#define RGBLED_NUM 12
|
||||||
#define WS2812_EXTERNAL_PULLUP
|
#define WS2812_EXTERNAL_PULLUP
|
||||||
#define RGB_DI_PIN A8
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
#define RGBLIGHT_VAL_STEP 8
|
#define RGBLIGHT_VAL_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0011",
|
"pid": "0x0011",
|
||||||
"device_version": "0.0.2"
|
"device_version": "0.0.2"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "A8"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["A3", "A4", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B6", "B5", "B4", "B3", "A15"],
|
"cols": ["A3", "A4", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B6", "B5", "B4", "B3", "A15"],
|
||||||
"rows": ["B15", "A9", "B7", "A1", "A2"]
|
"rows": ["B15", "A9", "B7", "A1", "A2"]
|
||||||
|
@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define BACKLIGHT_PAL_MODE 2
|
#define BACKLIGHT_PAL_MODE 2
|
||||||
|
|
||||||
/* Underglow */
|
/* Underglow */
|
||||||
#define RGB_DI_PIN A7
|
|
||||||
#define WS2812_SPI SPID1
|
#define WS2812_SPI SPID1
|
||||||
#define WS2812_SPI_MOSI_PAL_MODE 0
|
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||||||
#define WS2812_SPI_SCK_PIN A5
|
#define WS2812_SPI_SCK_PIN A5
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"breathing": true
|
"breathing": true
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "A7",
|
||||||
"driver": "spi"
|
"driver": "spi"
|
||||||
},
|
},
|
||||||
"processor": "STM32F072",
|
"processor": "STM32F072",
|
||||||
|
@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
/* Underglow */
|
/* Underglow */
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
#define WS2812_EXTERNAL_PULLUP
|
#define WS2812_EXTERNAL_PULLUP
|
||||||
#define RGB_DI_PIN A8
|
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
"num_lock": "B12",
|
"num_lock": "B12",
|
||||||
"scroll_lock": "B13"
|
"scroll_lock": "B13"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "A8"
|
||||||
|
},
|
||||||
"processor": "STM32F072",
|
"processor": "STM32F072",
|
||||||
"bootloader": "stm32-dfu",
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 12,
|
"led_count": 12,
|
||||||
"pin": "D3",
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
@ -56,6 +55,9 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 12,
|
"led_count": 12,
|
||||||
"pin": "A8",
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
@ -52,6 +51,9 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "A8"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
#define RGBLED_NUM 1
|
#define RGBLED_NUM 1
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0005",
|
"pid": "0x0005",
|
||||||
"device_version": "0.0.2"
|
"device_version": "0.0.2"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
|
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
|
||||||
"rows": ["C2", "D0", "B0", "D6", "D5"]
|
"rows": ["C2", "D0", "B0", "D6", "D5"]
|
||||||
|
@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
#define RGBLED_NUM 1
|
#define RGBLED_NUM 1
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
|
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
|
||||||
"rows": ["C2", "D0", "B0", "D6", "D5"]
|
"rows": ["C2", "D0", "B0", "D6", "D5"]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D3"
|
||||||
|
},
|
||||||
"diode_direction": "COL2ROW",
|
"diode_direction": "COL2ROW",
|
||||||
"qmk_lufa_bootloader": {
|
"qmk_lufa_bootloader": {
|
||||||
"esc_input": "C4",
|
"esc_input": "C4",
|
||||||
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define RGBLED_NUM 1
|
#define RGBLED_NUM 1
|
||||||
#define WS2812_EXTERNAL_PULLUP
|
#define WS2812_EXTERNAL_PULLUP
|
||||||
#define RGB_DI_PIN A8
|
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x000E",
|
"pid": "0x000E",
|
||||||
"device_version": "0.0.4"
|
"device_version": "0.0.4"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "A8"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["B2", "A4", "A3", "A2", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7", "A15", "B3"],
|
"cols": ["B2", "A4", "A3", "A2", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7", "A15", "B3"],
|
||||||
"rows": ["B14", "A9", "B6", "B5", "B4"]
|
"rows": ["B14", "A9", "B6", "B5", "B4"]
|
||||||
|
@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D7
|
|
||||||
#define RGBLED_NUM 2
|
#define RGBLED_NUM 2
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0006",
|
"pid": "0x0006",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D7"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["C6", "C7", "B7", "B6", "B5", "B2", "D0", "C2"],
|
"cols": ["C6", "C7", "B7", "B6", "B5", "B2", "D0", "C2"],
|
||||||
"rows": ["C4", "C5", "B4", "B3", "B1", "B0", "D6", "D5", "D3", "D4", "D1", "D2"]
|
"rows": ["C4", "C5", "B4", "B3", "B1", "B0", "D6", "D5", "D3", "D4", "D1", "D2"]
|
||||||
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define RGBLED_NUM 2
|
#define RGBLED_NUM 2
|
||||||
#define WS2812_EXTERNAL_PULLUP
|
#define WS2812_EXTERNAL_PULLUP
|
||||||
#define RGB_DI_PIN A8
|
|
||||||
|
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x000F",
|
"pid": "0x000F",
|
||||||
"device_version": "0.0.2"
|
"device_version": "0.0.2"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "A8"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["B2", "B1", "B0", "A7", "A6", "A3", "B9", "B8"],
|
"cols": ["B2", "B1", "B0", "A7", "A6", "A3", "B9", "B8"],
|
||||||
"rows": ["B13", "B12", "A5", "A4", "A2", "A1", "F0", "C15", "C13", "C14", "F1", "A0"]
|
"rows": ["B13", "B12", "A5", "A4", "A2", "A1", "F0", "C15", "C13", "C14", "F1", "A0"]
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#define LOCKING_RESYNC_ENABLE
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
// ws2812 options
|
// ws2812 options
|
||||||
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
|
|
||||||
#define RGBLED_NUM 8 // number of LEDs
|
#define RGBLED_NUM 8 // number of LEDs
|
||||||
#define RGBLIGHT_EFFECT_BREATHING
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
|
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
|
||||||
"levels": 8
|
"levels": 8
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D2"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "caterina",
|
"bootloader": "caterina",
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
|
@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
|
||||||
#define RGB_DI_PIN F7
|
|
||||||
|
|
||||||
#define RGBLED_NUM 1 // Number of LEDs
|
#define RGBLED_NUM 1 // Number of LEDs
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
|
@ -8,6 +8,9 @@
|
|||||||
"pid": "0x0007",
|
"pid": "0x0007",
|
||||||
"device_version": "0.0.1"
|
"device_version": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "F7"
|
||||||
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["F4", "F5", "F6"],
|
"cols": ["F4", "F5", "F6"],
|
||||||
"rows": ["D1", "D0", "D4"]
|
"rows": ["D1", "D0", "D4"]
|
||||||
|
@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define DIP_SWITCH_PINS { D0 }
|
#define DIP_SWITCH_PINS { D0 }
|
||||||
|
|
||||||
#define RGB_DI_PIN D1
|
|
||||||
|
|
||||||
# define RGBLED_NUM 17
|
# define RGBLED_NUM 17
|
||||||
# define RGBLIGHT_HUE_STEP 8
|
# define RGBLIGHT_HUE_STEP 8
|
||||||
# define RGBLIGHT_SAT_STEP 8
|
# define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
{"pin_a": "F1", "pin_b": "F0"}
|
{"pin_a": "F1", "pin_b": "F0"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "D1"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
|
|
||||||
/* RGB Matrix setup */
|
/* RGB Matrix setup */
|
||||||
#define RGB_DI_PIN GP19
|
|
||||||
#define RGB_MATRIX_LED_COUNT 2
|
#define RGB_MATRIX_LED_COUNT 2
|
||||||
#define RGBLED_NUM 2
|
#define RGBLED_NUM 2
|
||||||
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
|
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
"device_version": "2.0.0"
|
"device_version": "2.0.0"
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
|
"pin": "GP19",
|
||||||
"driver": "vendor"
|
"driver": "vendor"
|
||||||
},
|
},
|
||||||
"processor": "RP2040",
|
"processor": "RP2040",
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN E6
|
|
||||||
#define RGBLED_NUM 3
|
#define RGBLED_NUM 3
|
||||||
#define RGBLIGHT_HUE_STEP 8
|
#define RGBLIGHT_HUE_STEP 8
|
||||||
#define RGBLIGHT_SAT_STEP 8
|
#define RGBLIGHT_SAT_STEP 8
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
"pin": "C6",
|
"pin": "C6",
|
||||||
"levels": 15
|
"levels": 15
|
||||||
},
|
},
|
||||||
|
"ws2812": {
|
||||||
|
"pin": "E6"
|
||||||
|
},
|
||||||
"processor": "atmega32u4",
|
"processor": "atmega32u4",
|
||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define RGB_DI_PIN D0
|
|
||||||
# define RGBLED_NUM 6
|
# define RGBLED_NUM 6
|
||||||
# define RGBLIGHT_HUE_STEP 8
|
# define RGBLIGHT_HUE_STEP 8
|
||||||
# define RGBLIGHT_SAT_STEP 8
|
# define RGBLIGHT_SAT_STEP 8
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user