lotus: More customization

According to the ERS.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer
2022-12-16 11:35:52 +08:00
parent 98ebc096ad
commit 9ab3f3a579
4 changed files with 39 additions and 8 deletions

View File

@@ -19,6 +19,9 @@
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \ #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, \
11, 10, 9, 8, 7, 6 } 11, 10, 9, 8, 7, 6 }
#define DRIVER_COUNT 1
#define RGB_MATRIX_LED_COUNT 78
/* define if matrix has ghost (lacks anti-ghosting diodes) */ /* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST //#define MATRIX_HAS_GHOST

View File

@@ -10,7 +10,7 @@
"extrakey": true, "extrakey": true,
"console": false, "console": false,
"command": false, "command": false,
"nkro": false, "nkro": true,
"rgblight": true, "rgblight": true,
"audio": false "audio": false
}, },
@@ -21,9 +21,9 @@
"debounce": 5, "debounce": 5,
"processor": "RP2040", "processor": "RP2040",
"usb": { "usb": {
"device_version": "3.0.0", "device_version": "0.1.0",
"pid": "0x0003", "pid": "0x0013",
"vid": "0x5954" "vid": "0x32AC"
}, },
"rgblight": { "rgblight": {
"led_count": 12, "led_count": 12,
@@ -49,12 +49,21 @@
"max_brightness": 255 "max_brightness": 255
}, },
"split": { "split": {
"enabled": true "enabled": false
},
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x6_4"
}, },
"layouts": { "layouts": {
"LAYOUT_ANSI": {
"layout": [
],
},
"LAYOUT_ISO": {
"layout": [
],
},
"LAYOUT_JIS": {
"layout": [
],
},
"LAYOUT_split_3x6_4": { "LAYOUT_split_3x6_4": {
"layout": [ "layout": [
{"label":"L00", "x":0, "y":1.5}, {"label":"L00", "x":0, "y":1.5},

View File

@@ -23,3 +23,20 @@ Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
## Features
- Variant with per-key RGB and variant with 1-zone white backlight
- NKRO
## TODO
- [ ] Enable backlight with IS31FL3745 (see `docs/feature_rgb_matrix.md`)
- [ ] Split variants
- [ ] Keyboard with 1-zone backlight
- [ ] ANSI (78 keys)
- [ ] ISO (79 keys)
- [ ] JIS (84 keys)
- [ ] Keyboard with per-key RGB
- [ ] Numpad with 1-zone backlight
- [ ] Numpad with per-key RGB

View File

@@ -1,2 +1,4 @@
WS2812_DRIVER = vendor WS2812_DRIVER = vendor
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = IS31FL3745