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
@ -3,3 +3,19 @@
|
|||||||
#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,12 +2,16 @@
|
|||||||
"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":[
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -18,8 +22,15 @@
|
|||||||
{
|
{
|
||||||
"x": 0.25
|
"x": 0.25
|
||||||
},
|
},
|
||||||
"3,3",
|
"3,3\n\n\n0,0",
|
||||||
"3,4"
|
"3,4\n\n\n0,0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"x": 5.5,
|
||||||
|
"w": 2
|
||||||
|
},
|
||||||
|
"3,4\n\n\n0,1"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -34,7 +45,7 @@
|
|||||||
"r": 10,
|
"r": 10,
|
||||||
"rx": 1,
|
"rx": 1,
|
||||||
"ry": 0,
|
"ry": 0,
|
||||||
"y": -0.09999999999999998,
|
"y": -0.1,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"0,2"
|
"0,2"
|
||||||
@ -65,14 +76,14 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000001,
|
"y": -0.7,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"1,2"
|
"1,2"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.65,
|
||||||
"x": 1
|
"x": 1
|
||||||
},
|
},
|
||||||
"1,1",
|
"1,1",
|
||||||
@ -89,21 +100,21 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999,
|
"y": -0.9,
|
||||||
"x": 4
|
"x": 4
|
||||||
},
|
},
|
||||||
"1,4"
|
"1,4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000002,
|
"y": -0.7,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"2,2"
|
"2,2"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.65,
|
||||||
"x": 1
|
"x": 1
|
||||||
},
|
},
|
||||||
"2,1",
|
"2,1",
|
||||||
@ -120,7 +131,7 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999,
|
"y": -0.9,
|
||||||
"x": 4
|
"x": 4
|
||||||
},
|
},
|
||||||
"2,4"
|
"2,4"
|
||||||
@ -130,14 +141,14 @@
|
|||||||
"r": -10,
|
"r": -10,
|
||||||
"rx": 7,
|
"rx": 7,
|
||||||
"ry": 0.965,
|
"ry": 0.965,
|
||||||
"y": -0.20000000000000018,
|
"y": -0.200,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"0,7"
|
"0,7"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.65,
|
||||||
"x": 1
|
"x": 1
|
||||||
},
|
},
|
||||||
"0,6",
|
"0,6",
|
||||||
@ -155,20 +166,20 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999
|
"y": -0.9
|
||||||
},
|
},
|
||||||
"0,5"
|
"0,5"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000002,
|
"y": -0.7,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"1,7"
|
"1,7"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.65,
|
||||||
"x": 1
|
"x": 1
|
||||||
},
|
},
|
||||||
"1,6",
|
"1,6",
|
||||||
@ -186,20 +197,20 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.8999999999999999
|
"y": -0.9
|
||||||
},
|
},
|
||||||
"1,5"
|
"1,5"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7000000000000002,
|
"y": -0.7,
|
||||||
"x": 2
|
"x": 2
|
||||||
},
|
},
|
||||||
"2,7"
|
"2,7"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.6499999999999999,
|
"y": -0.65,
|
||||||
"x": 1
|
"x": 1
|
||||||
},
|
},
|
||||||
"2,6",
|
"2,6",
|
||||||
@ -210,14 +221,14 @@
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.7500000000000004,
|
"y": -0.75,
|
||||||
"x": 4
|
"x": 4
|
||||||
},
|
},
|
||||||
"3,7"
|
"3,7"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"y": -0.9000000000000004
|
"y": -0.9
|
||||||
},
|
},
|
||||||
"2,5"
|
"2,5"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user