diff --git a/keyboards/reviung34/keymaps/vial/config.h b/keyboards/reviung34/keymaps/vial/config.h index 1eaf5bd22b..bf2525d1cc 100755 --- a/keyboards/reviung34/keymaps/vial/config.h +++ b/keyboards/reviung34/keymaps/vial/config.h @@ -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} \ No newline at end of file +#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 diff --git a/keyboards/reviung34/keymaps/vial/rules.mk b/keyboards/reviung34/keymaps/vial/rules.mk index ac3d8d2093..6c1f0e3e1b 100644 --- a/keyboards/reviung34/keymaps/vial/rules.mk +++ b/keyboards/reviung34/keymaps/vial/rules.mk @@ -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 diff --git a/keyboards/reviung34/keymaps/vial/vial.json b/keyboards/reviung34/keymaps/vial/vial.json index fb19e2cb16..a1887737d7 100644 --- a/keyboards/reviung34/keymaps/vial/vial.json +++ b/keyboards/reviung34/keymaps/vial/vial.json @@ -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" + ] +] } -} \ No newline at end of file +}