From 811974c00efc32094ce1974c577d3c93a5c72988 Mon Sep 17 00:00:00 2001 From: itspngu <34752364+itspngu@users.noreply.github.com> Date: Sat, 30 Jan 2021 19:10:06 +0000 Subject: [PATCH] added h87a --- keyboards/hineybush/h87a/config.h | 4 + keyboards/hineybush/h87a/h87a.c | 2 +- keyboards/hineybush/h87a/keymaps/via/rules.mk | 1 + .../hineybush/h87a/keymaps/via/vial.json | 328 ++++++++++++++++++ 4 files changed, 334 insertions(+), 1 deletion(-) create mode 100644 keyboards/hineybush/h87a/keymaps/via/vial.json diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h index f9d8f9766e..229cb2aaec 100644 --- a/keyboards/hineybush/h87a/config.h +++ b/keyboards/hineybush/h87a/config.h @@ -23,6 +23,10 @@ along with this program. If not, see . #define PRODUCT h87a #define DESCRIPTION QMK-programmable TKL PCB for custom keyboards +#define VIAL_KEYBOARD_UID { 0x02, 0x4B, 0x38, 0xA3, 0x30, 0x79, 0x76, 0x3E } +#define VIAL_UNLOCK_COMBO_ROWS { 0, 7 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 6 } + #define CONFIG_H #include "config_common.h" diff --git a/keyboards/hineybush/h87a/h87a.c b/keyboards/hineybush/h87a/h87a.c index a3f511ffcc..271a484b45 100644 --- a/keyboards/hineybush/h87a/h87a.c +++ b/keyboards/hineybush/h87a/h87a.c @@ -55,7 +55,7 @@ void eeconfig_init_kb(void) { // EEPROM is getting reset! rgblight_enable(); // Enable RGB by default rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default - + eeconfig_update_kb(0); eeconfig_init_user(); } diff --git a/keyboards/hineybush/h87a/keymaps/via/rules.mk b/keyboards/hineybush/h87a/keymaps/via/rules.mk index 1e5b99807c..4f7618e9b2 100644 --- a/keyboards/hineybush/h87a/keymaps/via/rules.mk +++ b/keyboards/hineybush/h87a/keymaps/via/rules.mk @@ -1 +1,2 @@ VIA_ENABLE = yes +VIAL_ENABLE = yes diff --git a/keyboards/hineybush/h87a/keymaps/via/vial.json b/keyboards/hineybush/h87a/keymaps/via/vial.json new file mode 100644 index 0000000000..4a212ab797 --- /dev/null +++ b/keyboards/hineybush/h87a/keymaps/via/vial.json @@ -0,0 +1,328 @@ +{ + "name": "h87a", + "vendorId": "0x04D8", + "productId": "0xECE9", + "lighting": "qmk_backlight_rgblight", + "matrix": { + "rows": 12, + "cols": 9 + }, + "layouts": { + "labels": [ + "Split Backspace", + "ISO", + "Split Left Shift", + "Split Right Shift", + [ + "Bottom Row", + "6.25U", + "7U", + "7U WKL" + ] + ], + "keymap": [ + [ + { + "x": 2.75, + "c": "#777777" + }, + "0,0", + { + "x": 1, + "c": "#cccccc" + }, + "0,1", + "1,1", + "0,2", + "1,2", + { + "x": 0.5, + "c": "#aaaaaa" + }, + "0,3", + "1,3", + "0,4", + "1,4", + { + "x": 0.5, + "c": "#cccccc" + }, + "1,5", + "0,6", + "1,6", + "0,7", + { + "x": 0.25 + }, + "1,7", + "0,8", + "1,8" + ], + [ + { + "y": 0.25, + "x": 2.75 + }, + "2,0", + "3,0", + "2,1", + "3,1", + "2,2", + "3,2", + "2,3", + "3,3", + "2,4", + "3,4", + "2,5", + "3,5", + "2,6", + { + "c": "#aaaaaa", + "w": 2 + }, + "2,7\n\n\n0,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "3,7", + "2,8", + "3,8", + { + "x": 1.25, + "c": "#aaaaaa" + }, + "3,6\n\n\n0,1", + "2,7\n\n\n0,1" + ], + [ + { + "x": 2.75, + "w": 1.5 + }, + "4,0", + { + "c": "#cccccc" + }, + "5,0", + "4,1", + "5,1", + "4,2", + "5,2", + "4,3", + "5,3", + "4,4", + "5,4", + "4,5", + "5,5", + "4,6", + { + "w": 1.5 + }, + "5,6\n\n\n1,0", + { + "x": 0.25 + }, + "5,7", + "4,8", + "5,8", + { + "x": 2, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "7,6\n\n\n1,1" + ], + [ + { + "x": 2.75, + "c": "#aaaaaa", + "w": 1.75 + }, + "6,0", + { + "c": "#cccccc" + }, + "7,0", + "6,1", + "7,1", + "6,2", + "7,2", + "6,3", + "7,3", + "6,4", + "7,4", + "6,5", + "7,5", + { + "c": "#777777", + "w": 2.25 + }, + "7,6\n\n\n1,0", + { + "x": 4.25, + "c": "#cccccc" + }, + "6,6\n\n\n1,1" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "8,0\n\n\n2,1", + "9,0\n\n\n2,1", + { + "x": 0.5, + "w": 2.25 + }, + "8,0\n\n\n2,0", + { + "c": "#cccccc" + }, + "8,1", + "9,1", + "8,2", + "9,2", + "8,3", + "9,3", + "8,4", + "9,4", + "8,5", + "9,5", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "8,6\n\n\n3,0", + { + "x": 1.25, + "c": "#cccccc" + }, + "8,8", + { + "x": 1.5, + "c": "#aaaaaa", + "w": 1.75 + }, + "8,6\n\n\n3,1", + "9,6\n\n\n3,1" + ], + [ + { + "x": 2.75, + "w": 1.25 + }, + "10,0\n\n\n4,0", + { + "w": 1.25 + }, + "11,0\n\n\n4,0", + { + "w": 1.25 + }, + "10,1\n\n\n4,0", + { + "c": "#cccccc", + "w": 6.25 + }, + "11,3\n\n\n4,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "10,5\n\n\n4,0", + { + "w": 1.25 + }, + "11,5\n\n\n4,0", + { + "w": 1.25 + }, + "10,6\n\n\n4,0", + { + "w": 1.25 + }, + "11,6\n\n\n4,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "11,7", + "10,8", + "11,8" + ], + [ + { + "y": 0.25, + "x": 2.75, + "c": "#aaaaaa", + "w": 1.5 + }, + "10,0\n\n\n4,1", + "11,0\n\n\n4,1", + { + "w": 1.5 + }, + "10,1\n\n\n4,1", + { + "c": "#cccccc", + "w": 7 + }, + "11,3\n\n\n4,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "11,5\n\n\n4,1", + "10,6\n\n\n4,1", + { + "w": 1.5 + }, + "11,6\n\n\n4,1" + ], + [ + { + "y": 0.25, + "x": 2.75, + "w": 1.5 + }, + "10,0\n\n\n4,2", + { + "c": "#cccccc", + "d": true + }, + "11,0\n\n\n4,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "10,1\n\n\n4,2", + { + "c": "#cccccc", + "w": 7 + }, + "11,3\n\n\n4,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "11,5\n\n\n4,2", + { + "c": "#cccccc", + "d": true + }, + "10,6\n\n\n4,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "11,6\n\n\n4,2" + ] + ] + } +}