RGB matrix works
This commit is contained in:
parent
892afe5e36
commit
ca8ab1dcf6
@ -20,6 +20,12 @@
|
|||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
||||||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128
|
||||||
|
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
|
||||||
|
//#define WS2812_TRST_US 80
|
||||||
|
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||||
|
#define RGB_MATRIX_DEFAULT_VAL 32
|
||||||
|
|
||||||
|
|
||||||
// Pick good defaults for enabling homerow modifiers
|
// Pick good defaults for enabling homerow modifiers
|
||||||
#define TAPPING_TERM 230
|
#define TAPPING_TERM 230
|
||||||
@ -27,3 +33,11 @@
|
|||||||
#define IGNORE_MOD_TAP_INTERRUPT
|
#define IGNORE_MOD_TAP_INTERRUPT
|
||||||
#define TAPPING_FORCE_HOLD
|
#define TAPPING_FORCE_HOLD
|
||||||
//#define RETRO_TAPPING
|
//#define RETRO_TAPPING
|
||||||
|
|
||||||
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
// #define NOP_FUDGE 0.4
|
||||||
|
#define RGB_DI_PIN GP16 // The pin connected to the data pin of the LEDs
|
||||||
|
#define RGB_MATRIX_LED_COUNT 1 // The number of LEDs connected
|
||||||
|
#define ENABLE_RGB_MATRIX_SINGLE_COLOR // Single hue brightness cycling animation
|
||||||
|
#define ENABLE_RGB_MATRIX_BREATHING
|
||||||
|
#endif
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
"console": true,
|
"console": true,
|
||||||
"extrakey": true,
|
"extrakey": true,
|
||||||
"mousekey": true,
|
"mousekey": true,
|
||||||
"nkro": false
|
"nkro": false,
|
||||||
|
"rgb_matrix": true
|
||||||
},
|
},
|
||||||
"matrix_pins": {
|
"matrix_pins": {
|
||||||
"cols": ["GP0", "GP0", "GP1", "GP1", "GP2", "GP2", "GP29", "GP29", "GP28", "GP28", "GP27", "GP27"],
|
"cols": ["GP0", "GP0", "GP1", "GP1", "GP2", "GP2", "GP29", "GP29", "GP28", "GP28", "GP27", "GP27"],
|
||||||
@ -23,6 +24,11 @@
|
|||||||
"pid": "0x0000",
|
"pid": "0x0000",
|
||||||
"vid": "0xFEED"
|
"vid": "0xFEED"
|
||||||
},
|
},
|
||||||
|
"rgb_matrix": {
|
||||||
|
"driver": "WS2812",
|
||||||
|
"layout": [
|
||||||
|
{ "flags": 4, "matrix": [0, 0] , "x": 4 , "y": 0.25 }
|
||||||
|
]},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_split_3x5_3": {
|
"LAYOUT_split_3x5_3": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"version": 1,
|
"version": 1,
|
||||||
"notes": "My awesome keymap",
|
"notes": "My awesome keymap",
|
||||||
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
|
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
|
||||||
"keyboard": "bastardkb/skeletyl",
|
"keyboard": "bastardkb/skeletyl/blackpill",
|
||||||
"keymap": "default",
|
"keymap": "default",
|
||||||
"layout": "LAYOUT_split_3x5_3",
|
"layout": "LAYOUT_split_3x5_3",
|
||||||
"layers": [
|
"layers": [
|
||||||
@ -40,7 +40,7 @@
|
|||||||
"TO(1)",
|
"TO(1)",
|
||||||
"KC_BSPC",
|
"KC_BSPC",
|
||||||
"KC_TAB",
|
"KC_TAB",
|
||||||
"KC_DEL",
|
"KC_LGUI",
|
||||||
"KC_SPC",
|
"KC_SPC",
|
||||||
"KC_ENT"
|
"KC_ENT"
|
||||||
],
|
],
|
||||||
@ -60,7 +60,7 @@
|
|||||||
"KC_5",
|
"KC_5",
|
||||||
"KC_6",
|
"KC_6",
|
||||||
"KC_0",
|
"KC_0",
|
||||||
"KC_TAB",
|
"KC_BSLS",
|
||||||
"KC_LPRN",
|
"KC_LPRN",
|
||||||
"KC_RPRN",
|
"KC_RPRN",
|
||||||
"KC_LBRC",
|
"KC_LBRC",
|
||||||
|
@ -245,7 +245,7 @@
|
|||||||
"KC_P8",
|
"KC_P8",
|
||||||
"KC_P9",
|
"KC_P9",
|
||||||
"KC_PAST",
|
"KC_PAST",
|
||||||
"KC_TRNS",
|
"EE_CLR",
|
||||||
"KC_TRNS",
|
"KC_TRNS",
|
||||||
"KC_TRNS",
|
"KC_TRNS",
|
||||||
"KC_TRNS",
|
"KC_TRNS",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
CAPS_WORD_ENABLE = yes
|
CAPS_WORD_ENABLE = yes
|
||||||
CUSTOM_MATRIX = lite
|
CUSTOM_MATRIX = lite
|
||||||
|
WS2812_DRIVER = vendor
|
||||||
SRC += encoder.c
|
SRC += encoder.c
|
||||||
SRC += matrix.c
|
SRC += matrix.c
|
Loading…
x
Reference in New Issue
Block a user