Reviung34 multiple layouts and rgb support (#81)
* support 1u and 2u options for reviung34 * support rgb lighting for reviung rgb The reviung34sb (formerly called reviung34) do not have rgb lighting But the unibody one (see keymaps/reviung34_rgb) has support. This makes the firmware quite big and all animations will not fit on the board. Animations were not working for me, but I included in case it is working for others.
This commit is contained in:
parent
888f1d2eff
commit
9dafac3fbd
@ -2,4 +2,20 @@
|
|||||||
|
|
||||||
#define VIAL_KEYBOARD_UID {0xB8, 0x68, 0xB9, 0x6C, 0x13, 0x2E, 0xA7, 0xDD}
|
#define VIAL_KEYBOARD_UID {0xB8, 0x68, 0xB9, 0x6C, 0x13, 0x2E, 0xA7, 0xDD}
|
||||||
#define VIAL_UNLOCK_COMBO_ROWS {0, 3}
|
#define VIAL_UNLOCK_COMBO_ROWS {0, 3}
|
||||||
#define VIAL_UNLOCK_COMBO_COLS {0, 5}
|
#define VIAL_UNLOCK_COMBO_COLS {0, 5}
|
||||||
|
|
||||||
|
// the non split version
|
||||||
|
#define RGB_DI_PIN D3
|
||||||
|
#ifdef RGB_DI_PIN
|
||||||
|
#define RGBLED_NUM 9
|
||||||
|
#define RGBLIGHT_HUE_STEP 16
|
||||||
|
#define RGBLIGHT_SAT_STEP 16
|
||||||
|
#define RGBLIGHT_VAL_STEP 16
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 255
|
||||||
|
#define RGBLIGHT_SLEEP
|
||||||
|
// /*== all animations enable ==*/
|
||||||
|
// #define RGBLIGHT_ANIMATIONS
|
||||||
|
#define RGBLIGHT_MODE_BREATHING
|
||||||
|
//#define RGBLIGHT_MODE_RAINBOW_MOOD
|
||||||
|
//#define RGBLIGHT_MODE_RAINBOW_SWIRL
|
||||||
|
#endif
|
||||||
|
@ -5,6 +5,9 @@ CONSOLE_ENABLE = no # Console for debug
|
|||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
|
|
||||||
|
# reviung34_rgb
|
||||||
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
VIA_ENABLE = yes
|
VIA_ENABLE = yes
|
||||||
VIAL_ENABLE = yes
|
VIAL_ENABLE = yes
|
||||||
QMK_SETTINGS = no
|
QMK_SETTINGS = no
|
||||||
|
@ -2,225 +2,236 @@
|
|||||||
"name": "reviung34",
|
"name": "reviung34",
|
||||||
"vendorId": "0xFEED",
|
"vendorId": "0xFEED",
|
||||||
"productId": "0x4E03",
|
"productId": "0x4E03",
|
||||||
"lighting": "none",
|
"lighting": "qmk_rgblight",
|
||||||
"matrix": {
|
"matrix": {
|
||||||
"rows": 4,
|
"rows": 4,
|
||||||
"cols": 9
|
"cols": 9
|
||||||
},
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
|
"labels": [
|
||||||
|
"1u Space"
|
||||||
|
],
|
||||||
|
|
||||||
"keymap":[
|
"keymap":[
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": 4.75,
|
"y": 4.75,
|
||||||
"x": 4.25
|
"x": 4.25
|
||||||
},
|
},
|
||||||
"3,2",
|
"3,2",
|
||||||
{
|
{
|
||||||
"x": 0.25
|
"x": 0.25
|
||||||
},
|
},
|
||||||
"3,3",
|
"3,3\n\n\n0,0",
|
||||||
"3,4"
|
"3,4\n\n\n0,0"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"ry": 0.965,
|
"x": 5.5,
|
||||||
"y": 3.785,
|
"w": 2
|
||||||
"x": 7.75
|
},
|
||||||
},
|
"3,4\n\n\n0,1"
|
||||||
"3,8"
|
],
|
||||||
],
|
[
|
||||||
[
|
{
|
||||||
{
|
"ry": 0.965,
|
||||||
"r": 10,
|
"y": 3.785,
|
||||||
"rx": 1,
|
"x": 7.75
|
||||||
"ry": 0,
|
},
|
||||||
"y": -0.09999999999999998,
|
"3,8"
|
||||||
"x": 2
|
],
|
||||||
},
|
[
|
||||||
"0,2"
|
{
|
||||||
],
|
"r": 10,
|
||||||
[
|
"rx": 1,
|
||||||
{
|
"ry": 0,
|
||||||
"y": -0.65,
|
"y": -0.1,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"0,1",
|
"0,2"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"0,3"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"0,1",
|
||||||
"y": -0.75
|
{
|
||||||
},
|
"x": 1
|
||||||
"0,0"
|
},
|
||||||
],
|
"0,3"
|
||||||
[
|
],
|
||||||
{
|
[
|
||||||
"y": -0.9,
|
{
|
||||||
"x": 4
|
"y": -0.75
|
||||||
},
|
},
|
||||||
"0,4"
|
"0,0"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000001,
|
"y": -0.9,
|
||||||
"x": 2
|
"x": 4
|
||||||
},
|
},
|
||||||
"1,2"
|
"0,4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.7,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"1,1",
|
"1,2"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"1,3"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"1,1",
|
||||||
"y": -0.75
|
{
|
||||||
},
|
"x": 1
|
||||||
"1,0"
|
},
|
||||||
],
|
"1,3"
|
||||||
[
|
],
|
||||||
{
|
[
|
||||||
"y": -0.8999999999999999,
|
{
|
||||||
"x": 4
|
"y": -0.75
|
||||||
},
|
},
|
||||||
"1,4"
|
"1,0"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000002,
|
"y": -0.9,
|
||||||
"x": 2
|
"x": 4
|
||||||
},
|
},
|
||||||
"2,2"
|
"1,4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.7,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"2,1",
|
"2,2"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"2,3"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"2,1",
|
||||||
"y": -0.75
|
{
|
||||||
},
|
"x": 1
|
||||||
"2,0"
|
},
|
||||||
],
|
"2,3"
|
||||||
[
|
],
|
||||||
{
|
[
|
||||||
"y": -0.8999999999999999,
|
{
|
||||||
"x": 4
|
"y": -0.75
|
||||||
},
|
},
|
||||||
"2,4"
|
"2,0"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"r": -10,
|
"y": -0.9,
|
||||||
"rx": 7,
|
"x": 4
|
||||||
"ry": 0.965,
|
},
|
||||||
"y": -0.20000000000000018,
|
"2,4"
|
||||||
"x": 2
|
],
|
||||||
},
|
[
|
||||||
"0,7"
|
{
|
||||||
],
|
"r": -10,
|
||||||
[
|
"rx": 7,
|
||||||
{
|
"ry": 0.965,
|
||||||
"y": -0.6499999999999999,
|
"y": -0.200,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"0,6",
|
"0,7"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"0,8"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"0,6",
|
||||||
"y": -0.75,
|
{
|
||||||
"x": 4
|
"x": 1
|
||||||
},
|
},
|
||||||
"3,5"
|
"0,8"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999
|
"y": -0.75,
|
||||||
},
|
"x": 4
|
||||||
"0,5"
|
},
|
||||||
],
|
"3,5"
|
||||||
[
|
],
|
||||||
{
|
[
|
||||||
"y": -0.7000000000000002,
|
{
|
||||||
"x": 2
|
"y": -0.9
|
||||||
},
|
},
|
||||||
"1,7"
|
"0,5"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.7,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"1,6",
|
"1,7"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"1,8"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"1,6",
|
||||||
"y": -0.75,
|
{
|
||||||
"x": 4
|
"x": 1
|
||||||
},
|
},
|
||||||
"3,6"
|
"1,8"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999
|
"y": -0.75,
|
||||||
},
|
"x": 4
|
||||||
"1,5"
|
},
|
||||||
],
|
"3,6"
|
||||||
[
|
],
|
||||||
{
|
[
|
||||||
"y": -0.7000000000000002,
|
{
|
||||||
"x": 2
|
"y": -0.9
|
||||||
},
|
},
|
||||||
"2,7"
|
"1,5"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.7,
|
||||||
"x": 1
|
"x": 2
|
||||||
},
|
},
|
||||||
"2,6",
|
"2,7"
|
||||||
{
|
],
|
||||||
"x": 1
|
[
|
||||||
},
|
{
|
||||||
"2,8"
|
"y": -0.65,
|
||||||
],
|
"x": 1
|
||||||
[
|
},
|
||||||
{
|
"2,6",
|
||||||
"y": -0.7500000000000004,
|
{
|
||||||
"x": 4
|
"x": 1
|
||||||
},
|
},
|
||||||
"3,7"
|
"2,8"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.9000000000000004
|
"y": -0.75,
|
||||||
},
|
"x": 4
|
||||||
"2,5"
|
},
|
||||||
]
|
"3,7"
|
||||||
]
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"y": -0.9
|
||||||
|
},
|
||||||
|
"2,5"
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user