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_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
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
|
||||
# reviung34_rgb
|
||||
RGBLIGHT_ENABLE = yes
|
||||
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
|
@ -2,225 +2,236 @@
|
||||
"name": "reviung34",
|
||||
"vendorId": "0xFEED",
|
||||
"productId": "0x4E03",
|
||||
"lighting": "none",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 9
|
||||
},
|
||||
"layouts": {
|
||||
"labels": [
|
||||
"1u Space"
|
||||
],
|
||||
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"y": 4.75,
|
||||
"x": 4.25
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"3,3",
|
||||
"3,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"ry": 0.965,
|
||||
"y": 3.785,
|
||||
"x": 7.75
|
||||
},
|
||||
"3,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 10,
|
||||
"rx": 1,
|
||||
"ry": 0,
|
||||
"y": -0.09999999999999998,
|
||||
"x": 2
|
||||
},
|
||||
"0,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"0,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"1,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"1,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"2,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"2,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"2,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -10,
|
||||
"rx": 7,
|
||||
"ry": 0.965,
|
||||
"y": -0.20000000000000018,
|
||||
"x": 2
|
||||
},
|
||||
"0,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"0,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999
|
||||
},
|
||||
"0,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"1,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"1,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999
|
||||
},
|
||||
"1,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7000000000000002,
|
||||
"x": 2
|
||||
},
|
||||
"2,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999,
|
||||
"x": 1
|
||||
},
|
||||
"2,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7500000000000004,
|
||||
"x": 4
|
||||
},
|
||||
"3,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004
|
||||
},
|
||||
"2,5"
|
||||
]
|
||||
]
|
||||
[
|
||||
{
|
||||
"y": 4.75,
|
||||
"x": 4.25
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"x": 0.25
|
||||
},
|
||||
"3,3\n\n\n0,0",
|
||||
"3,4\n\n\n0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 5.5,
|
||||
"w": 2
|
||||
},
|
||||
"3,4\n\n\n0,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"ry": 0.965,
|
||||
"y": 3.785,
|
||||
"x": 7.75
|
||||
},
|
||||
"3,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 10,
|
||||
"rx": 1,
|
||||
"ry": 0,
|
||||
"y": -0.1,
|
||||
"x": 2
|
||||
},
|
||||
"0,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"0,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7,
|
||||
"x": 2
|
||||
},
|
||||
"1,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"1,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7,
|
||||
"x": 2
|
||||
},
|
||||
"2,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75
|
||||
},
|
||||
"2,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"2,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -10,
|
||||
"rx": 7,
|
||||
"ry": 0.965,
|
||||
"y": -0.200,
|
||||
"x": 2
|
||||
},
|
||||
"0,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"0,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9
|
||||
},
|
||||
"0,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7,
|
||||
"x": 2
|
||||
},
|
||||
"1,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"1,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9
|
||||
},
|
||||
"1,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.7,
|
||||
"x": 2
|
||||
},
|
||||
"2,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65,
|
||||
"x": 1
|
||||
},
|
||||
"2,6",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 4
|
||||
},
|
||||
"3,7"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9
|
||||
},
|
||||
"2,5"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user