Skip to content

Commit

Permalink
Add keymap v2 and v3 for soda/pocket
Browse files Browse the repository at this point in the history
  • Loading branch information
gezhaoyou authored and yiancar committed Feb 27, 2023
1 parent aa4f0a3 commit 48b25e8
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 0 deletions.
91 changes: 91 additions & 0 deletions src/soda/pocket/pocket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"name": "MF34",
"vendorId": "0x1A53",
"productId": "0x4F51",
"lighting": "qmk_rgblight",
"matrix": {"rows": 6,"cols":7},
"layouts": {
"keymap": [
[
{
"y": 0.25
},
"0,0",
"0,1",
"0,2",
{
"x": 0.25
},
"0,3",
"0,4",
"0,5",
"0,6"
],
[
{
"y": 0.25
},
"1,0",
"1,1",
"1,2",
{
"x": 0.25
},
"1,3",
"1,4",
"1,5",
"1,6"
],
[
"2,0",
"2,1",
"2,2",
{
"x": 0.25
},
"2,3",
"2,4",
"2,5",
{
"h": 2
},
"3,6"
],
[
{
"x": 3.25
},
"3,3",
"3,4",
"3,5"
],
[
{
"x": 1
},
"4,1",
{
"x": 1.25
},
"4,3",
"4,4",
"4,5",
{
"h": 2
},
"5,6"
],
[
"5,0",
"5,1",
"5,2",
{
"x": 0.25,
"w": 2
},
"5,4",
"5,5"
]
]
}
}
96 changes: 96 additions & 0 deletions v3/soda/pocket/pocket.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"name": "MF34",

"vendorId": "0x1A53",
"productId": "0x4F51",

"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgb_matrix"],

"matrix": {"rows": 6,"cols":7},

"layouts": {
"keymap": [
[
{
"y": 0.25
},
"0,0",
"0,1",
"0,2",
{
"x": 0.25
},
"0,3",
"0,4",
"0,5",
"0,6"
],
[
{
"y": 0.25
},
"1,0",
"1,1",
"1,2",
{
"x": 0.25
},
"1,3",
"1,4",
"1,5",
"1,6"
],
[
"2,0",
"2,1",
"2,2",
{
"x": 0.25
},
"2,3",
"2,4",
"2,5",
{
"h": 2
},
"3,6"
],
[
{
"x": 3.25
},
"3,3",
"3,4",
"3,5"
],
[
{
"x": 1
},
"4,1",
{
"x": 1.25
},
"4,3",
"4,4",
"4,5",
{
"h": 2
},
"5,6"
],
[
"5,0",
"5,1",
"5,2",
{
"x": 0.25,
"w": 2
},
"5,4",
"5,5"
]
]
}
}

0 comments on commit 48b25e8

Please sign in to comment.