From 0fbefcc44b0ff5398a27537012f6c8cbfb0ebbe6 Mon Sep 17 00:00:00 2001 From: ToffeeStudio <116937564+ToffeeStudio@users.noreply.github.com> Date: Sun, 19 Mar 2023 15:57:28 +0100 Subject: [PATCH] Add support for ToffeeStudio blueberry ## Description ## QMK Pull Request https://github.com/qmk/qmk_firmware/pull/19915 ## Checklist - [X] The VIA support for this keyboard is **MERGED** in QMK master already **(MANDATORY)** - [X] The VIA definition follows the guide here: https://caniusevia.com/docs/layouts - [X] I have a V3 JSON version for this keyboard definition.**(MANDATORY)** - [X] I have tested this keyboard definition using VIA's "Design" tab. - [X] I have tested this keyboard definition with firmware on a device. - [X] I have assigned alpha keys and modifier keys with the correct colors. - [X] The Vendor ID is not `0xFEED` --- src/toffee_studio/blueberry/blueberry.json | 192 ++++++++++++++++++++ v3/toffee_studio/blueberry/blueberry.json | 194 +++++++++++++++++++++ 2 files changed, 386 insertions(+) create mode 100644 src/toffee_studio/blueberry/blueberry.json create mode 100644 v3/toffee_studio/blueberry/blueberry.json diff --git a/src/toffee_studio/blueberry/blueberry.json b/src/toffee_studio/blueberry/blueberry.json new file mode 100644 index 0000000000..013f9b4ca0 --- /dev/null +++ b/src/toffee_studio/blueberry/blueberry.json @@ -0,0 +1,192 @@ +{ + "name": "Blueberry", + "vendorId": "0x1067", + "productId": "0x626C", + "lighting": "qmk_rgblight", + "matrix": { + "rows": 9, + "cols": 8 + }, + "layouts": { + "labels": [ + "Split Backspace", + "ISO Enter", + "Split Left Shift", + "Tsangan Bottom Row" + ], + "keymap" : [ + [ + { + "x": 15.25 + }, + "1,6\n\n\n0,1", + "0,7\n\n\n0,1" + ], + [ + { + "x": 2.25 + }, + "0,0", + "1,0", + "0,5", + "1,5", + "0,4", + "1,4", + "0,3", + "1,3", + "0,2", + "1,2", + "0,1", + "1,1", + "0,6", + { + "w": 2 + }, + "1,6\n\n\n0,0" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "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", + { + "w": 1.5 + }, + "3,6\n\n\n1,0", + "2,7", + { + "x": 1, + "p": "iso", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "3,6\n\n\n1,1" + ], + [ + { + "x": 2.25, + "w": 1.75 + }, + "4,0", + "5,0", + "4,1", + "5,1", + "4,2", + "5,2", + "4,3", + "5,3", + "4,4", + "5,4", + "4,5", + "5,5", + { + "w": 2.25 + }, + "4,6\n\n\n1,0", + "4,7", + "4,6\n\n\n1,1" + ], + [ + { + "w": 1.25 + }, + "7,0\n\n\n2,1", + "6,0\n\n\n2,1", + { + "w": 2.25 + }, + "7,0\n\n\n2,0", + "6,1", + "7,1", + "6,2", + "7,2", + "6,3", + "7,3", + "6,4", + "7,4", + "6,5", + "7,5", + { + "w": 1.75 + }, + "6,6", + "7,6", + "6,7" + ], + [ + { + "x": 2.25, + "w": 1.25 + }, + "8,0\n\n\n3,0", + { + "w": 1.25 + }, + "8,1\n\n\n3,0", + { + "w": 1.25 + }, + "8,2\n\n\n3,0", + { + "w": 6.25 + }, + "8,3\n\n\n3,0", + { + "w": 1.25 + }, + "8,4\n\n\n3,0", + { + "w": 1.25 + }, + "8,5\n\n\n3,0", + { + "x": 0.5 + }, + "8,6\n\n\n3,0", + "5,6\n\n\n3,0", + "7,7" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "8,0\n\n\n3,1", + "8,1\n\n\n3,1", + { + "w": 1.5 + }, + "8,2\n\n\n3,1", + { + "w": 7 + }, + "8,3\n\n\n3,1", + { + "w": 1.5 + }, + "8,5\n\n\n3,1", + "8,6\n\n\n3,1", + { + "w": 1.5 + }, + "5,6\n\n\n3,1" + ] + ] + } +} diff --git a/v3/toffee_studio/blueberry/blueberry.json b/v3/toffee_studio/blueberry/blueberry.json new file mode 100644 index 0000000000..076ea2038b --- /dev/null +++ b/v3/toffee_studio/blueberry/blueberry.json @@ -0,0 +1,194 @@ +{ + "name": "Blueberry", + "vendorId": "0x1067", + "productId": "0x626C", + "menus":[ + "qmk_backlight" + ], + "matrix": { + "rows": 9, + "cols": 8 + }, + "layouts": { + "labels": [ + "Split Backspace", + "ISO Enter", + "Split Left Shift", + "Tsangan Bottom Row" + ], + "keymap" : [ + [ + { + "x": 15.25 + }, + "1,6\n\n\n0,1", + "0,7\n\n\n0,1" + ], + [ + { + "x": 2.25 + }, + "0,0", + "1,0", + "0,5", + "1,5", + "0,4", + "1,4", + "0,3", + "1,3", + "0,2", + "1,2", + "0,1", + "1,1", + "0,6", + { + "w": 2 + }, + "1,6\n\n\n0,0" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "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", + { + "w": 1.5 + }, + "3,6\n\n\n1,0", + "2,7", + { + "x": 1, + "p": "iso", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "3,6\n\n\n1,1" + ], + [ + { + "x": 2.25, + "w": 1.75 + }, + "4,0", + "5,0", + "4,1", + "5,1", + "4,2", + "5,2", + "4,3", + "5,3", + "4,4", + "5,4", + "4,5", + "5,5", + { + "w": 2.25 + }, + "4,6\n\n\n1,0", + "4,7", + "4,6\n\n\n1,1" + ], + [ + { + "w": 1.25 + }, + "7,0\n\n\n2,1", + "6,0\n\n\n2,1", + { + "w": 2.25 + }, + "7,0\n\n\n2,0", + "6,1", + "7,1", + "6,2", + "7,2", + "6,3", + "7,3", + "6,4", + "7,4", + "6,5", + "7,5", + { + "w": 1.75 + }, + "6,6", + "7,6", + "6,7" + ], + [ + { + "x": 2.25, + "w": 1.25 + }, + "8,0\n\n\n3,0", + { + "w": 1.25 + }, + "8,1\n\n\n3,0", + { + "w": 1.25 + }, + "8,2\n\n\n3,0", + { + "w": 6.25 + }, + "8,3\n\n\n3,0", + { + "w": 1.25 + }, + "8,4\n\n\n3,0", + { + "w": 1.25 + }, + "8,5\n\n\n3,0", + { + "x": 0.5 + }, + "8,6\n\n\n3,0", + "5,6\n\n\n3,0", + "7,7" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "8,0\n\n\n3,1", + "8,1\n\n\n3,1", + { + "w": 1.5 + }, + "8,2\n\n\n3,1", + { + "w": 7 + }, + "8,3\n\n\n3,1", + { + "w": 1.5 + }, + "8,5\n\n\n3,1", + "8,6\n\n\n3,1", + { + "w": 1.5 + }, + "5,6\n\n\n3,1" + ] + ] + } +}