Skip to content

Commit

Permalink
Add support for ToffeeStudio blueberry
Browse files Browse the repository at this point in the history
## Description

## QMK Pull Request 

qmk/qmk_firmware#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`
  • Loading branch information
ToffeeStudio authored Mar 19, 2023
1 parent 18fe9c0 commit 0fbefcc
Show file tree
Hide file tree
Showing 2 changed files with 386 additions and 0 deletions.
192 changes: 192 additions & 0 deletions src/toffee_studio/blueberry/blueberry.json
Original file line number Diff line number Diff line change
@@ -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"
]
]
}
}
194 changes: 194 additions & 0 deletions v3/toffee_studio/blueberry/blueberry.json
Original file line number Diff line number Diff line change
@@ -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"
]
]
}
}

0 comments on commit 0fbefcc

Please sign in to comment.