From 8101dcb1a193e4c9fe3b9a2dd84799e142e32d58 Mon Sep 17 00:00:00 2001 From: ebastler Date: Wed, 10 Nov 2021 16:35:56 +0100 Subject: [PATCH 1/2] added teleport numpad --- src/teleport/numpad/numpad.json | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/teleport/numpad/numpad.json diff --git a/src/teleport/numpad/numpad.json b/src/teleport/numpad/numpad.json new file mode 100644 index 0000000000..093e5bd45d --- /dev/null +++ b/src/teleport/numpad/numpad.json @@ -0,0 +1,49 @@ +{ + "name": "tlprt NumPad", + "vendorId": "0x7470", + "productId": "0x0001", + "lighting": "none", + "matrix": { "rows": 5, "cols": 4 }, + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2", + "0,3" + ], + [ + "1,0", + "1,1", + "1,2", + { + "h": 2 + }, + "1,3" + ], + [ + "2,0", + "2,1", + "2,2" + ], + [ + "3,0", + "3,1", + "3,2", + { + "c": "#777777", + "h": 2 + }, + "4,2" + ], + [ + { + "c": "#cccccc", + "w": 2 + }, + "4,0", + "4,1" + ] + ] + } +} \ No newline at end of file From 85a6abdb47060180aa0255be5b117f31914dfc17 Mon Sep 17 00:00:00 2001 From: ebastler Date: Wed, 10 Nov 2021 16:43:34 +0100 Subject: [PATCH 2/2] fixed colors --- src/teleport/numpad/numpad.json | 86 ++++++++++++++++++--------------- 1 file changed, 48 insertions(+), 38 deletions(-) diff --git a/src/teleport/numpad/numpad.json b/src/teleport/numpad/numpad.json index 093e5bd45d..2100d27c65 100644 --- a/src/teleport/numpad/numpad.json +++ b/src/teleport/numpad/numpad.json @@ -6,44 +6,54 @@ "matrix": { "rows": 5, "cols": 4 }, "layouts": { "keymap": [ - [ - "0,0", - "0,1", - "0,2", - "0,3" - ], - [ - "1,0", - "1,1", - "1,2", - { - "h": 2 - }, - "1,3" - ], - [ - "2,0", - "2,1", - "2,2" - ], - [ - "3,0", - "3,1", - "3,2", - { - "c": "#777777", - "h": 2 - }, - "4,2" - ], - [ - { - "c": "#cccccc", - "w": 2 - }, - "4,0", - "4,1" - ] + [ + { + "c": "#aaaaaa" + }, + "0,0", + "0,1", + "0,2", + "0,3" + ], + [ + { + "c": "#cccccc" + }, + "1,0", + "1,1", + "1,2", + { + "c": "#aaaaaa", + "h": 2 + }, + "1,3" + ], + [ + { + "c": "#cccccc" + }, + "2,0", + "2,1", + "2,2" + ], + [ + "3,0", + "3,1", + "3,2", + { + "c": "#777777", + "h": 2 + }, + "4,2" + ], + [ + { + "c": "#cccccc", + "w": 2 + }, + "4,0", + "4,1" + ] ] } } \ No newline at end of file