From 48b25e87bb4dec2ec08612a67d46926a466019e1 Mon Sep 17 00:00:00 2001 From: Jeayo Keh Date: Mon, 27 Feb 2023 10:06:42 +0800 Subject: [PATCH] Add keymap v2 and v3 for soda/pocket --- src/soda/pocket/pocket.json | 91 +++++++++++++++++++++++++++++++++++ v3/soda/pocket/pocket.json | 96 +++++++++++++++++++++++++++++++++++++ 2 files changed, 187 insertions(+) create mode 100644 src/soda/pocket/pocket.json create mode 100644 v3/soda/pocket/pocket.json diff --git a/src/soda/pocket/pocket.json b/src/soda/pocket/pocket.json new file mode 100644 index 0000000000..c0df9d8d57 --- /dev/null +++ b/src/soda/pocket/pocket.json @@ -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" + ] + ] + } +} diff --git a/v3/soda/pocket/pocket.json b/v3/soda/pocket/pocket.json new file mode 100644 index 0000000000..61de82799e --- /dev/null +++ b/v3/soda/pocket/pocket.json @@ -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" + ] + ] + } +}