From d0209d1e01262dfa81ea2e51318218656abf225b Mon Sep 17 00:00:00 2001 From: chance Date: Sun, 20 Jun 2021 22:02:15 -0400 Subject: [PATCH] Ported Graystudio's Think6.5 (#21) * Create rules.mk * Create vial.json * added Frosty_Flake * added Frosty_Flake * added unlock combo * added unlock combo * Ported Graystudio Think6.5 --- keyboards/gray_studio/think65/solder/config.h | 6 + .../think65/solder/keymaps/via/rules.mk | 1 + .../think65/solder/keymaps/via/vial.json | 253 ++++++++++++++++++ 3 files changed, 260 insertions(+) create mode 100644 keyboards/gray_studio/think65/solder/keymaps/via/vial.json diff --git a/keyboards/gray_studio/think65/solder/config.h b/keyboards/gray_studio/think65/solder/config.h index 32a1769a6bb8..2d0d1a57b944 100644 --- a/keyboards/gray_studio/think65/solder/config.h +++ b/keyboards/gray_studio/think65/solder/config.h @@ -25,6 +25,8 @@ along with this program. If not, see . #define DEVICE_VER 0x0001 #define MANUFACTURER Graystudio #define PRODUCT Think6.5° +#define VIAL_KEYBOARD_UID {0xC2, 0x84, 0x88, 0x70, 0x67, 0xE8, 0xC9, 0x7C} + /* key matrix size */ #define MATRIX_ROWS 5 @@ -70,3 +72,7 @@ along with this program. If not, see . // generated by KBFirmware JSON to QMK Parser // https://noroadsleft.github.io/kbf_qmk_converter/ +// +// Define Vial Unlock Combo +#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } diff --git a/keyboards/gray_studio/think65/solder/keymaps/via/rules.mk b/keyboards/gray_studio/think65/solder/keymaps/via/rules.mk index 44a2bc49cc51..77a7d30f7b85 100644 --- a/keyboards/gray_studio/think65/solder/keymaps/via/rules.mk +++ b/keyboards/gray_studio/think65/solder/keymaps/via/rules.mk @@ -1,4 +1,5 @@ VIA_ENABLE = yes LTO_ENABLE = yes +VIAL_ENABLE = yes CONSOLE_ENABLE = no diff --git a/keyboards/gray_studio/think65/solder/keymaps/via/vial.json b/keyboards/gray_studio/think65/solder/keymaps/via/vial.json new file mode 100644 index 000000000000..a553e282f602 --- /dev/null +++ b/keyboards/gray_studio/think65/solder/keymaps/via/vial.json @@ -0,0 +1,253 @@ +{ + "name": "Graystudio Think6.5", + "vendorId": "0x4753", + "productId": "0x4000", + "lighting": "qmk_rgblight", + "matrix": { "rows": 5, "cols": 16 }, + "layouts": { + "labels": [ + "Split Backspace", + ["Blocker", "Standard", "1u", "2u"], + "ISO Enter", + "Split Left Shift", + ["Bottom Row", "6.25U", "7U"] + ], + "keymap": [ + [ + { + "x": 2.5, + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13\n\n\n0,0", + "0,15\n\n\n1,0", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,13\n\n\n0,1", + "0,14\n\n\n0,1", + { + "x": 0.5, + "c": "#aaaaaa", + "d": true + }, + "0,15\n\n\n1,1", + "0,15\n\n\n1,2" + ], + [ + { + "x": 2.5, + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + "1,13", + { + "w": 1.5 + }, + "1,14", + { + "c": "#aaaaaa" + }, + "1,15", + { + "x": 1.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13\n\n\n2,1" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + "2,12", + { + "c": "#777777", + "w": 2.25 + }, + "2,13\n\n\n2,0", + { + "c": "#aaaaaa" + }, + "2,15\n\n\n1,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "1,14\n\n\n2,1", + { + "x": 1.75, + "c": "#aaaaaa" + }, + "2,15\n\n\n1,1", + { + "d": true + }, + "2,15\n\n\n1,2" + ], + [ + { + "w": 1.25 + }, + "3,0\n\n\n3,1", + { + "c": "#cccccc" + }, + "3,1\n\n\n3,1", + { + "x": 0.25, + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0\n\n\n3,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,13", + { + "c": "#777777" + }, + "3,14", + { + "c": "#aaaaaa" + }, + "3,15\n\n\n1,0", + { + "x": 3 + }, + "3,15\n\n\n1,1", + { + "d": true + }, + "3,15\n\n\n1,2" + ], + [ + { + "x": 2.5, + "w": 1.25 + }, + "4,0\n\n\n4,0", + { + "w": 1.25 + }, + "4,1\n\n\n4,0", + { + "w": 1.25 + }, + "4,3\n\n\n4,0", + { + "c": "#cccccc", + "w": 6.25 + }, + "4,6\n\n\n4,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,10\n\n\n4,0", + { + "w": 1.25 + }, + "4,11\n\n\n4,0", + { + "x": 0.5, + "c": "#777777" + }, + "4,13", + "4,14", + "4,15" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.5 + }, + "4,0\n\n\n4,1", + "4,1\n\n\n4,1", + { + "w": 1.5 + }, + "4,3\n\n\n4,1", + { + "c": "#cccccc", + "w": 7 + }, + "4,6\n\n\n4,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n4,1" + ] + ] + } +}