Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)

master
Ryan 2023-04-06 18:00:54 +10:00 committed by GitHub
parent 71c22a12db
commit 47966dc2a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2600 changed files with 4027 additions and 1909 deletions

View File

@ -73,7 +73,6 @@
"PS2_DATA_PIN": {"info_key": "ps2.data_pin"},
"RETRO_TAPPING": {"info_key": "tapping.retro", "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_SPLIT": {"info_key": "rgblight.split_count", "value_type": "array.int"},
"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_POLLING_INTERVAL_MS": {"info_key": "usb.polling_interval", "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_TIMEOUT": {"info_key": "ws2812.i2c_timeout", "value_type": "int"},
// 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_FUNCTION": {"info_key": "_invalid.no_action_function", "invalid": true},
"DESCRIPTION": {"info_key": "_invalid.usb_description", "invalid": true},

View File

@ -492,7 +492,10 @@
},
"led_count": {"$ref": "qmk.definitions.v1#/unsigned_int"},
"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"},
"saturation_steps": {"$ref": "qmk.definitions.v1#/unsigned_int"},
"sleep": {"type": "boolean"},
@ -715,6 +718,7 @@
"type": "string",
"enum": ["bitbang", "custom", "i2c", "pwm", "spi", "vendor"]
},
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"i2c_address": {"$ref": "qmk.definitions.v1#/hex_number_2d"},
"i2c_timeout": {"$ref": "qmk.definitions.v1#/unsigned_int"}
}

View File

@ -214,7 +214,7 @@ If you define these options you will enable the associated feature, which may in
## RGB Light Configuration
* `#define RGB_DI_PIN D7`
* `#define WS2812_DI_PIN D7`
* pin the DI on the WS2812 is hooked-up to
* `#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.
@ -230,7 +230,7 @@ If you define these options you will enable the associated feature, which may in
* `#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
* `#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
* When RGBLED_SPLIT is defined, RGBLIGHT_SPLIT is implicitly defined.
* `#define RGBLIGHT_HUE_STEP 12`

View File

@ -361,7 +361,7 @@ Configure the hardware via your `config.h`:
```c
// 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
#define RGB_MATRIX_LED_COUNT 70
```

View File

@ -34,12 +34,12 @@ 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.
|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_CI_PIN`|The pin connected to the clock pin of the LEDs (APA102) |
|`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.

View File

@ -77,7 +77,7 @@ Configure the hardware via your config.h:
```
### 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
WS2812_DRIVER = spi
@ -183,7 +183,7 @@ This can be configured for bitbang, PWM and SPI.
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
#define WS2812_EXTERNAL_PULLUP
```

View File

@ -18,7 +18,6 @@
/* underglow */
#define RGB_DI_PIN B6
#define RGBLED_NUM 24
#define RGBLIGHT_LIMIT_VAL 185 // limit max I to 400mA
#define RGBLIGHT_EFFECT_BREATHING

View File

@ -5,5 +5,8 @@
},
"features": {
"rgblight": true
},
"ws2812": {
"pin": "B6"
}
}

View File

@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAP_CODE_DELAY 10
#define RGB_DI_PIN D3
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -21,6 +21,9 @@
"qmk_lufa_bootloader": {
"led": "B0"
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"matrix_pins": {

View File

@ -3,8 +3,6 @@
#pragma once
#define RGB_DI_PIN D0
#define RGB_MATRIX_LED_COUNT 18
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING

View File

@ -62,6 +62,9 @@
{ "flags": 4, "matrix": [0, 3], "x": 163, "y": 64 }
]
},
"ws2812": {
"pin": "D0"
},
"layouts": {
"LAYOUT_36": {
"layout": [

View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN D3 // LED data pin on controller
#define RGBLED_NUM 4 // Number of LEDs connected
#define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by

View File

@ -11,6 +11,9 @@
"bootmagic": {
"matrix": [1, 0]
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
#pragma once
#define SSD1306OLED
#define RGB_DI_PIN B7
#define RGBLED_NUM 4

View File

@ -8,6 +8,9 @@
"pid": "0x7C99",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B7"
},
"matrix_pins": {
"cols": ["D6", "D7", "B5"],
"rows": ["F0", "F5", "F4", "F6"]

View File

@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 1
#define RGB_DI_PIN B2
// Save as much space as we can...
#define LAYER_STATE_8BIT

View File

@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B2"
},
"matrix_pins": {
"direct": [
["B0"]

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN F0
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -18,6 +18,9 @@
"levels": 5,
"breathing": true
},
"ws2812": {
"pin": "F0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],

View File

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN F0
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -20,6 +20,9 @@
"caps_lock": "B6",
"on_state": 0
},
"ws2812": {
"pin": "F0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {

View File

@ -6,7 +6,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define RGB_DI_PIN E2
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -17,6 +17,9 @@
"pin": "B6",
"levels": 5
},
"ws2812": {
"pin": "E2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],

View File

@ -10,7 +10,6 @@
#define OLED_BRIGHTNESS 128
#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_FRAMEBUFFER_EFFECTS
# define RGBLIGHT_LIMIT_VAL 150

View File

@ -14,6 +14,7 @@
"layer_count": 10
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"features": {

View File

@ -14,6 +14,7 @@
"layer_count": 10
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"features": {

View File

@ -14,6 +14,7 @@
"layer_count": 10
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"features": {

View File

@ -5,7 +5,6 @@
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP17
#define RGB_MATRIX_LED_COUNT 21
//#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
//#define RGB_MATRIX_KEYPRESSES

View File

@ -25,6 +25,7 @@
"rgblight": false
},
"ws2812": {
"pin": "GP17",
"driver": "vendor"
},
"matrix_pins": {

View File

@ -5,7 +5,6 @@
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP15
#define RGB_MATRIX_LED_COUNT 16
#define RGBLED_NUM 16
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS

View File

@ -24,6 +24,7 @@
"rgblight": false
},
"ws2812": {
"pin": "GP15",
"driver": "vendor"
},
"matrix_pins": {

View File

@ -3,8 +3,6 @@
#pragma once
#define RGB_DI_PIN GP19
#define RGB_MATRIX_LED_COUNT 61
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses

View File

@ -27,6 +27,7 @@
"rgblight": false
},
"ws2812": {
"pin": "GP19",
"driver": "vendor"
},
"matrix_pins": {

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN D3
# define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# ifdef RGBLIGHT_ENABLE

View File

@ -8,6 +8,9 @@
"pid": "0x5516",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["D4", "C6", "F6", "F7"],
"rows": ["D1", "D0", "F4", "F5"]

View File

@ -19,7 +19,6 @@
#define MOUSEKEY_MOVE_DELTA 25
#define RGB_DI_PIN B5
#define RGB_MATRIX_LED_COUNT 20
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
# define RGBLIGHT_LIMIT_VAL 255

View File

@ -8,6 +8,9 @@
"pid": "0x5517",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B5"
},
"matrix_pins": {
"cols": ["D5", "D6", "C2", "D0"],
"rows": ["D1", "D2", "D3", "D4"]

View File

@ -7,7 +7,6 @@
#endif
/* Underglow options */
#define RGB_DI_PIN B1
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -3,6 +3,9 @@
"pid": "0x0161",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B1"
},
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6"],
"rows": ["F4", "F5", "F6", "F7"]

View File

@ -18,7 +18,6 @@
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN GP6
#define RGB_MATRIX_LED_COUNT 20
#define RGBLED_NUM 20
#define RGB_MATRIX_KEYPRESSES

View File

@ -25,6 +25,7 @@
"rgblight": false
},
"ws2812": {
"pin": "GP6",
"driver": "vendor"
},
"matrix_pins": {

View File

@ -19,7 +19,6 @@
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_DI_PIN D7
#define RGB_MATRIX_LED_COUNT 20
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS

View File

@ -23,6 +23,9 @@
"rgb_matrix": true,
"rgblight": false
},
"ws2812": {
"pin": "D7"
},
"matrix_pins": {
"cols": ["F7", "D2", "B1", "C6"],
"rows": ["D1", "B5", "B4", "E6"]

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN C7
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -13,6 +13,9 @@
{"pin_a": "B5", "pin_b": "B4"}
]
},
"ws2812": {
"pin": "C7"
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
}

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN B3
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -13,6 +13,9 @@
{"pin_a": "F5", "pin_b": "F6"}
]
},
"ws2812": {
"pin": "B3"
},
"backlight": {
"pin": "C6",
"levels": 8,

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN D3
# define RGBLED_NUM 5
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View File

@ -14,6 +14,9 @@
{"pin_a": "B3", "pin_b": "B1"}
]
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MASTER_RIGHT
//#define EE_HANDS
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@ -8,6 +8,9 @@
"split": {
"soft_serial_pin": "D2"
},
"ws2812": {
"pin": "D3"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_4x12"
},

View File

@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MASTER_RIGHT
//#define EE_HANDS
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@ -8,6 +8,9 @@
"split": {
"soft_serial_pin": "D2"
},
"ws2812": {
"pin": "D3"
},
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [

View File

@ -8,7 +8,6 @@
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN C6
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -18,6 +18,9 @@
{"pin_a": "D0", "pin_b": "D1", "resolution": 1}
]
},
"ws2812": {
"pin": "C6"
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* RGB matrix key backlighting */
#define RGB_DI_PIN B2
#define RGB_MATRIX_LED_COUNT 2
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE

View File

@ -16,6 +16,9 @@
"indicators": {
"caps_lock": "B7"
},
"ws2812": {
"pin": "B2"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@ -1,8 +1,8 @@
#pragma once
#undef RGB_DI_PIN
#undef WS2812_DI_PIN
#undef RGBLED_NUM
#define RGB_DI_PIN D2
#define WS2812_DI_PIN D2
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -1,8 +1,8 @@
#pragma once
#undef RGB_DI_PIN
#undef WS2812_DI_PIN
#undef RGBLED_NUM
#define RGB_DI_PIN D3
#define WS2812_DI_PIN D3
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -7,7 +7,6 @@
#define LOCKING_RESYNC_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN B4
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -17,6 +17,9 @@
"pin": "B5",
"levels": 4
},
"ws2812": {
"pin": "B4"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["60_ansi"],

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -8,6 +8,9 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@ -17,7 +17,6 @@
#pragma once
// enable RGB underglow
#define RGB_DI_PIN B4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -16,6 +16,9 @@
"backlight": {
"pin": "B5"
},
"ws2812": {
"pin": "B4"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_4x4", "ortho_4x12"],

View File

@ -7,7 +7,6 @@
#define PERMISSIVE_HOLD
/* setup lighting */
#define RGB_DI_PIN B5
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -8,6 +8,9 @@
"pid": "0x546F",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B5"
},
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]

View File

@ -28,5 +28,5 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#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

View File

@ -1,6 +1,5 @@
#pragma once
#define RGB_DI_PIN D3
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["C4", "C6", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D6", "D5", "D4", "D2", "D1"],
"rows": ["C2", "D0", "B0", "C7", "C5"]

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 12
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x0011",
"device_version": "0.0.2"
},
"ws2812": {
"pin": "A8"
},
"matrix_pins": {
"cols": ["A3", "A4", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B15", "A9", "B7", "A1", "A2"]

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
/* Underglow */
#define RGB_DI_PIN A7
#define WS2812_SPI SPID1
#define WS2812_SPI_MOSI_PAL_MODE 0
#define WS2812_SPI_SCK_PIN A5

View File

@ -19,6 +19,7 @@
"breathing": true
},
"ws2812": {
"pin": "A7",
"driver": "spi"
},
"processor": "STM32F072",

View File

@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow */
#define RGBLED_NUM 16
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -23,6 +23,9 @@
"num_lock": "B12",
"scroll_lock": "B13"
},
"ws2812": {
"pin": "A8"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@ -42,7 +42,6 @@
},
"rgblight": {
"led_count": 12,
"pin": "D3",
"animations": {
"alternating": true,
"breathing": true,
@ -56,6 +55,9 @@
"twinkle": true
}
},
"ws2812": {
"pin": "D3"
},
"layouts": {
"LAYOUT_all": {
"layout": [

View File

@ -38,7 +38,6 @@
},
"rgblight": {
"led_count": 12,
"pin": "A8",
"animations": {
"alternating": true,
"breathing": true,
@ -52,6 +51,9 @@
"twinkle": true
}
},
"ws2812": {
"pin": "A8"
},
"layouts": {
"LAYOUT_all": {
"layout": [

View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define RGB_DI_PIN D3
#define RGBLED_NUM 1
#define RGBLIGHT_HUE_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x0005",
"device_version": "0.0.2"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
"rows": ["C2", "D0", "B0", "D6", "D5"]

View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define RGB_DI_PIN D3
#define RGBLED_NUM 1
#define RGBLIGHT_HUE_STEP 8

View File

@ -12,6 +12,9 @@
"cols": ["C4", "C5", "D2", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "D1", "D4"],
"rows": ["C2", "D0", "B0", "D6", "D5"]
},
"ws2812": {
"pin": "D3"
},
"diode_direction": "COL2ROW",
"qmk_lufa_bootloader": {
"esc_input": "C4",

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 1
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x000E",
"device_version": "0.0.4"
},
"ws2812": {
"pin": "A8"
},
"matrix_pins": {
"cols": ["B2", "A4", "A3", "A2", "F1", "F0", "C15", "C14", "C13", "B9", "B8", "B7", "A15", "B3"],
"rows": ["B14", "A9", "B6", "B5", "B4"]

View File

@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define RGB_DI_PIN D7
#define RGBLED_NUM 2
#define RGBLIGHT_HUE_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "D7"
},
"matrix_pins": {
"cols": ["C6", "C7", "B7", "B6", "B5", "B2", "D0", "C2"],
"rows": ["C4", "C5", "B4", "B3", "B1", "B0", "D6", "D5", "D3", "D4", "D1", "D2"]

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 2
#define WS2812_EXTERNAL_PULLUP
#define RGB_DI_PIN A8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -8,6 +8,9 @@
"pid": "0x000F",
"device_version": "0.0.2"
},
"ws2812": {
"pin": "A8"
},
"matrix_pins": {
"cols": ["B2", "B1", "B0", "A7", "A6", "A3", "B9", "B8"],
"rows": ["B13", "B12", "A5", "A4", "A2", "A1", "F0", "C15", "C13", "C14", "F1", "A0"]

View File

@ -7,7 +7,6 @@
#define LOCKING_RESYNC_ENABLE
// 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 RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@ -11,6 +11,9 @@
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"levels": 8
},
"ws2812": {
"pin": "D2"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* ws2812 RGB LED */
#define RGB_DI_PIN F7
#define RGBLED_NUM 1 // Number of LEDs
#define TAPPING_TERM 200

View File

@ -8,6 +8,9 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "F7"
},
"matrix_pins": {
"cols": ["F4", "F5", "F6"],
"rows": ["D1", "D0", "D4"]

View File

@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIP_SWITCH_PINS { D0 }
#define RGB_DI_PIN D1
# define RGBLED_NUM 17
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View File

@ -18,6 +18,9 @@
{"pin_a": "F1", "pin_b": "F0"}
]
},
"ws2812": {
"pin": "D1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB Matrix setup */
#define RGB_DI_PIN GP19
#define RGB_MATRIX_LED_COUNT 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

View File

@ -21,6 +21,7 @@
"device_version": "2.0.0"
},
"ws2812": {
"pin": "GP19",
"driver": "vendor"
},
"processor": "RP2040",

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN E6
#define RGBLED_NUM 3
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@ -24,6 +24,9 @@
"pin": "C6",
"levels": 15
},
"ws2812": {
"pin": "E6"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN D0
# define RGBLED_NUM 6
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

Some files were not shown because too many files have changed in this diff Show More