From 0deb33c0d5c9f618ffd699a18f5086f261039cdc Mon Sep 17 00:00:00 2001 From: leyew <102467346+itsme-zeix@users.noreply.github.com> Date: Sat, 3 Feb 2024 04:10:08 +0800 Subject: [PATCH] labelled key colors --- v3/dnworks/numpad/numpad.json | 201 ++++++++++++++++++---------------- 1 file changed, 109 insertions(+), 92 deletions(-) diff --git a/v3/dnworks/numpad/numpad.json b/v3/dnworks/numpad/numpad.json index c84cbfad5d..88ee63f99f 100644 --- a/v3/dnworks/numpad/numpad.json +++ b/v3/dnworks/numpad/numpad.json @@ -1,101 +1,118 @@ { - "name": "DN Numpad Rev1", + "name": "dnworks Numpad rev1", "vendorId": "0x4C23", "productId": "0x2937", "matrix": { "rows": 7, "cols": 4 }, - "layouts": { - "labels": [ - "Top Left 2u", - "Top Right 2u", - "Split Plus", - "Split Enter", - "Split Zero" + "layouts": { + "labels": [ + "Top Left 2u", + "Top Right 2u", + "Split Plus", + "Split Enter", + "Split Zero" + ], + "keymap": [ + [ + { + "w": 2 + }, + "0,0\n\n\n0,1", + { + "w": 2 + }, + "0,2\n\n\n1,1" ], - "keymap": [ - [ - { - "w": 2 - }, - "0,0\n\n\n0,1", - { - "w": 2 - }, - "0,2\n\n\n1,1" - ], - [ - { - "y": 0.5 - }, - "0,0\n\n\n0,0", - "0,1\n\n\n0,0", - "0,2\n\n\n1,0", - "0,3\n\n\n1,0" - ], - [ - { - "y": 0.25 - }, - "1,0", - "1,1", - "1,2", - "6,3" - ], - [ - "2,0", - "2,1", - "2,2", - { - "h": 2 - }, - "3,3\n\n\n2,0", - { - "x": 0.5 - }, - "2,3\n\n\n2,1" - ], - [ - "3,0", - "3,1", - "3,2", - { - "x": 1.5 - }, - "3,3\n\n\n2,1" - ], - [ - "4,0", - "4,1", - "4,2", - { - "h": 2 - }, - "5,3\n\n\n3,0", - { - "x": 0.5 - }, - "4,3\n\n\n3,1" - ], - [ - { - "w": 2 - }, - "5,0\n\n\n4,0", - "5,2", - { - "x": 1.5 - }, - "5,3\n\n\n3,1" - ], - [ - { - "y": 0.5 - }, - "5,0\n\n\n4,1", - "5,1\n\n\n4,1" - ] + [ + { + "y": 0.5, + "c": "#aaaaaa" + }, + "0,0\n\n\n0,0", + "0,1\n\n\n0,0", + "0,2\n\n\n1,0", + "0,3\n\n\n1,0" + ], + [ + { + "y": 0.25 + }, + "1,0", + "1,1", + "1,2", + "6,3" + ], + [ + { + "c": "#cccccc" + }, + "2,0", + "2,1", + "2,2", + { + "c": "#aaaaaa", + "h": 2 + }, + "3,3\n\n\n2,0", + { + "x": 0.5 + }, + "2,3\n\n\n2,1" + ], + [ + { + "c": "#cccccc" + }, + "3,0", + "3,1", + "3,2", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "3,3\n\n\n2,1" + ], + [ + { + "c": "#cccccc" + }, + "4,0", + "4,1", + "4,2", + { + "c": "#777777", + "h": 2 + }, + "5,3\n\n\n3,0", + { + "x": 0.5, + "c": "#aaaaaa" + }, + "4,3\n\n\n3,1" + ], + [ + { + "c": "#cccccc", + "w": 2 + }, + "5,0\n\n\n4,0", + "5,2", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "5,3\n\n\n3,1" + ], + [ + { + "y": 0.5, + "c": "#cccccc" + }, + "5,0\n\n\n4,1", + "5,1\n\n\n4,1" ] - } - } \ No newline at end of file + ] + } +} \ No newline at end of file