From 43684dcc77c6c8b73fe6e6b63f83668337f88df1 Mon Sep 17 00:00:00 2001 From: Stan Drozd Date: Tue, 12 Nov 2024 16:40:54 +0100 Subject: [PATCH] Add v3 definitions for Ergodox EZ Shine/Glow variants These keyboards use separate product IDs which currently makes them unrecognizable from VIA's perspective. This change adds two new JSONs that only differ in product ID to account for the missing variants. --- v3/ergodox_ez/ergodox_ez_glow.json | 410 ++++++++++++++++++++++++++++ v3/ergodox_ez/ergodox_ez_shine.json | 410 ++++++++++++++++++++++++++++ 2 files changed, 820 insertions(+) create mode 100644 v3/ergodox_ez/ergodox_ez_glow.json create mode 100644 v3/ergodox_ez/ergodox_ez_shine.json diff --git a/v3/ergodox_ez/ergodox_ez_glow.json b/v3/ergodox_ez/ergodox_ez_glow.json new file mode 100644 index 0000000000..4efc692d37 --- /dev/null +++ b/v3/ergodox_ez/ergodox_ez_glow.json @@ -0,0 +1,410 @@ +{ + "name": "ErgoDox EZ Glow", + "vendorId": "0x3297", + "productId": "0x4976", + "matrix": { + "rows": 14, + "cols": 6 + }, + "layouts": { + "keymap": [ + [ + { + "x": 3.5 + }, + "3,0", + { + "x": 10.5 + }, + "10,0" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,0", + { + "x": 1 + }, + "4,0", + { + "x": 8.5 + }, + "9,0", + { + "x": 1 + }, + "11,0" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,0", + { + "c": "#777777" + }, + "6,0", + { + "x": 4.5, + "c": "#aaaaaa" + }, + "7,0", + { + "c": "#cccccc" + }, + "8,0" + ], + [ + { + "y": -0.875, + "c": "#777777", + "w": 1.5 + }, + "0,0", + { + "c": "#cccccc" + }, + "1,0", + { + "x": 14.5 + }, + "12,0", + { + "c": "#777777", + "w": 1.5 + }, + "13,0" + ], + [ + { + "y": -0.375, + "x": 3.5, + "c": "#cccccc" + }, + "3,1", + { + "x": 10.5 + }, + "10,1" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,1", + { + "x": 1 + }, + "4,1", + { + "x": 8.5 + }, + "9,1", + { + "x": 1 + }, + "11,1" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,1", + { + "c": "#aaaaaa", + "h": 1.5 + }, + "6,1", + { + "x": 4.5, + "h": 1.5 + }, + "7,1", + { + "c": "#cccccc" + }, + "8,1" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,1", + { + "c": "#cccccc" + }, + "1,1", + { + "x": 14.5 + }, + "12,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,1" + ], + [ + { + "y": -0.375, + "x": 3.5, + "c": "#cccccc" + }, + "3,2", + { + "x": 10.5 + }, + "10,2" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,2", + { + "x": 1 + }, + "4,2", + { + "x": 8.5 + }, + "9,2", + { + "x": 1 + }, + "11,2" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,2", + { + "x": 6.5 + }, + "8,2" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,2", + { + "c": "#cccccc" + }, + "1,2", + { + "x": 14.5 + }, + "12,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,2" + ], + [ + { + "y": -0.625, + "x": 6.5, + "h": 1.5 + }, + "6,3", + { + "x": 4.5, + "h": 1.5 + }, + "7,3" + ], + [ + { + "y": -0.75, + "x": 3.5, + "c": "#cccccc" + }, + "3,3", + { + "x": 10.5 + }, + "10,3" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,3", + { + "x": 1 + }, + "4,3", + { + "x": 8.5 + }, + "9,3", + { + "x": 1 + }, + "11,3" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,3", + { + "x": 6.5 + }, + "8,3" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,3", + { + "c": "#cccccc" + }, + "1,3", + { + "x": 14.5 + }, + "12,3", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,3" + ], + [ + { + "y": -0.375, + "x": 3.5 + }, + "3,4", + { + "x": 10.5 + }, + "10,4" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,4", + { + "x": 1 + }, + "4,4", + { + "x": 8.5 + }, + "9,4", + { + "x": 1 + }, + "11,4" + ], + [ + { + "y": -0.75, + "x": 0.5 + }, + "0,4", + "1,4", + { + "x": 14.5 + }, + "12,4", + "13,4" + ], + [ + { + "r": 30, + "rx": 6.5, + "ry": 4.25, + "y": -1, + "x": 1 + }, + "5,5", + { + "c": "#777777" + }, + "6,5" + ], + [ + { + "c": "#aaaaaa", + "h": 2 + }, + "3,5", + { + "c": "#777777", + "h": 2 + }, + "2,5", + { + "c": "#aaaaaa" + }, + "4,5" + ], + [ + { + "x": 2 + }, + "1,5" + ], + [ + { + "r": -30, + "rx": 13, + "y": -1, + "x": -3, + "c": "#777777" + }, + "7,5", + { + "c": "#aaaaaa" + }, + "8,5" + ], + [ + { + "x": -3 + }, + "9,5", + { + "c": "#777777", + "h": 2 + }, + "11,5", + { + "c": "#aaaaaa", + "h": 2 + }, + "10,5" + ], + [ + { + "x": -3 + }, + "12,5" + ] + ] + } +} diff --git a/v3/ergodox_ez/ergodox_ez_shine.json b/v3/ergodox_ez/ergodox_ez_shine.json new file mode 100644 index 0000000000..8fda3366ab --- /dev/null +++ b/v3/ergodox_ez/ergodox_ez_shine.json @@ -0,0 +1,410 @@ +{ + "name": "ErgoDox EZ Shine", + "vendorId": "0x3297", + "productId": "0x4975", + "matrix": { + "rows": 14, + "cols": 6 + }, + "layouts": { + "keymap": [ + [ + { + "x": 3.5 + }, + "3,0", + { + "x": 10.5 + }, + "10,0" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,0", + { + "x": 1 + }, + "4,0", + { + "x": 8.5 + }, + "9,0", + { + "x": 1 + }, + "11,0" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,0", + { + "c": "#777777" + }, + "6,0", + { + "x": 4.5, + "c": "#aaaaaa" + }, + "7,0", + { + "c": "#cccccc" + }, + "8,0" + ], + [ + { + "y": -0.875, + "c": "#777777", + "w": 1.5 + }, + "0,0", + { + "c": "#cccccc" + }, + "1,0", + { + "x": 14.5 + }, + "12,0", + { + "c": "#777777", + "w": 1.5 + }, + "13,0" + ], + [ + { + "y": -0.375, + "x": 3.5, + "c": "#cccccc" + }, + "3,1", + { + "x": 10.5 + }, + "10,1" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,1", + { + "x": 1 + }, + "4,1", + { + "x": 8.5 + }, + "9,1", + { + "x": 1 + }, + "11,1" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,1", + { + "c": "#aaaaaa", + "h": 1.5 + }, + "6,1", + { + "x": 4.5, + "h": 1.5 + }, + "7,1", + { + "c": "#cccccc" + }, + "8,1" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,1", + { + "c": "#cccccc" + }, + "1,1", + { + "x": 14.5 + }, + "12,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,1" + ], + [ + { + "y": -0.375, + "x": 3.5, + "c": "#cccccc" + }, + "3,2", + { + "x": 10.5 + }, + "10,2" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,2", + { + "x": 1 + }, + "4,2", + { + "x": 8.5 + }, + "9,2", + { + "x": 1 + }, + "11,2" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,2", + { + "x": 6.5 + }, + "8,2" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,2", + { + "c": "#cccccc" + }, + "1,2", + { + "x": 14.5 + }, + "12,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,2" + ], + [ + { + "y": -0.625, + "x": 6.5, + "h": 1.5 + }, + "6,3", + { + "x": 4.5, + "h": 1.5 + }, + "7,3" + ], + [ + { + "y": -0.75, + "x": 3.5, + "c": "#cccccc" + }, + "3,3", + { + "x": 10.5 + }, + "10,3" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,3", + { + "x": 1 + }, + "4,3", + { + "x": 8.5 + }, + "9,3", + { + "x": 1 + }, + "11,3" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "5,3", + { + "x": 6.5 + }, + "8,3" + ], + [ + { + "y": -0.875, + "c": "#aaaaaa", + "w": 1.5 + }, + "0,3", + { + "c": "#cccccc" + }, + "1,3", + { + "x": 14.5 + }, + "12,3", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "13,3" + ], + [ + { + "y": -0.375, + "x": 3.5 + }, + "3,4", + { + "x": 10.5 + }, + "10,4" + ], + [ + { + "y": -0.875, + "x": 2.5 + }, + "2,4", + { + "x": 1 + }, + "4,4", + { + "x": 8.5 + }, + "9,4", + { + "x": 1 + }, + "11,4" + ], + [ + { + "y": -0.75, + "x": 0.5 + }, + "0,4", + "1,4", + { + "x": 14.5 + }, + "12,4", + "13,4" + ], + [ + { + "r": 30, + "rx": 6.5, + "ry": 4.25, + "y": -1, + "x": 1 + }, + "5,5", + { + "c": "#777777" + }, + "6,5" + ], + [ + { + "c": "#aaaaaa", + "h": 2 + }, + "3,5", + { + "c": "#777777", + "h": 2 + }, + "2,5", + { + "c": "#aaaaaa" + }, + "4,5" + ], + [ + { + "x": 2 + }, + "1,5" + ], + [ + { + "r": -30, + "rx": 13, + "y": -1, + "x": -3, + "c": "#777777" + }, + "7,5", + { + "c": "#aaaaaa" + }, + "8,5" + ], + [ + { + "x": -3 + }, + "9,5", + { + "c": "#777777", + "h": 2 + }, + "11,5", + { + "c": "#aaaaaa", + "h": 2 + }, + "10,5" + ], + [ + { + "x": -3 + }, + "12,5" + ] + ] + } +}