From eaff08bb2e821ec94b1d0a917076bee25c461964 Mon Sep 17 00:00:00 2001 From: melgeek001365 Date: Mon, 15 Mar 2021 11:00:05 +0800 Subject: [PATCH] Support MelGeek's boards including MJ61, MJ63, MJ64, MJ65, MOJO75, and Z70 Ultra --- src/melgeek/mj61/mj61_rev1.json | 155 ++++++++++++++++++++++++ src/melgeek/mj63/mj63_rev1.json | 156 ++++++++++++++++++++++++ src/melgeek/mj64/mj64_rev1.json | 153 ++++++++++++++++++++++++ src/melgeek/mj65/mj65_rev3.json | 164 +++++++++++++++++++++++++ src/melgeek/mojo75/mojo75_rev1.json | 179 ++++++++++++++++++++++++++++ src/melgeek/z70/z70_ultra_rev1.json | 120 +++++++++++++++++++ 6 files changed, 927 insertions(+) create mode 100644 src/melgeek/mj61/mj61_rev1.json create mode 100644 src/melgeek/mj63/mj63_rev1.json create mode 100644 src/melgeek/mj64/mj64_rev1.json create mode 100644 src/melgeek/mj65/mj65_rev3.json create mode 100644 src/melgeek/mojo75/mojo75_rev1.json create mode 100644 src/melgeek/z70/z70_ultra_rev1.json diff --git a/src/melgeek/mj61/mj61_rev1.json b/src/melgeek/mj61/mj61_rev1.json new file mode 100644 index 0000000000..01434dae5a --- /dev/null +++ b/src/melgeek/mj61/mj61_rev1.json @@ -0,0 +1,155 @@ +{ + "name": "MelGeek MJ61 REV1", + "vendorId": "0xEDED", + "productId": "0xED61", + "lighting": { + "extends": "none", + "keycodes": "qmk" + }, + "matrix": { + "rows": 5, + "cols": 14 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13" + ], + [ + { + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "2,12" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "3,12" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,3", + { + "c": "#cccccc", + "w": 6.25 + }, + "4,5", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,9", + { + "w": 1.25 + }, + "4,10", + { + "w": 1.25 + }, + "4,11", + { + "w": 1.25 + }, + "4,13" + ] + ] + } +} diff --git a/src/melgeek/mj63/mj63_rev1.json b/src/melgeek/mj63/mj63_rev1.json new file mode 100644 index 0000000000..8f035ba02b --- /dev/null +++ b/src/melgeek/mj63/mj63_rev1.json @@ -0,0 +1,156 @@ +{ + "name": "MelGeek MJ63 REV1", + "vendorId": "0xEDED", + "productId": "0x6063", + "lighting": { + "extends": "none", + "keycodes": "qmk" + }, + "matrix": { + "rows": 5, + "cols": 14 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13" + ], + [ + { + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "2,12" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,11", + { + "c": "#777777" + }, + "3,12", + { + "c": "#cccccc" + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "4,5", + { + "c": "#aaaaaa" + }, + "4,9", + "4,10", + { + "c": "#777777" + }, + "4,11", + "4,12", + "4,13" + ] + ] + } + } \ No newline at end of file diff --git a/src/melgeek/mj64/mj64_rev1.json b/src/melgeek/mj64/mj64_rev1.json new file mode 100644 index 0000000000..e535e1b31c --- /dev/null +++ b/src/melgeek/mj64/mj64_rev1.json @@ -0,0 +1,153 @@ +{ + "name": "MelGeek MJ64 REV1", + "vendorId": "0xEDED", + "productId": "0x6064", + "lighting": { + "extends": "none", + "keycodes": "qmk" + }, + "matrix": { + "rows": 5, + "cols": 14 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13" + ], + [ + { + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "2,12" + ], + [ + { + "c": "#aaaaaa", + "w": 2 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#777777" + }, + "3,12", + { + "c": "#cccccc" + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "4,5", + { + "c": "#aaaaaa" + }, + "4,9", + "4,10", + { + "c": "#777777" + }, + "4,11", + "4,12", + "4,13" + ] + ] + } + } diff --git a/src/melgeek/mj65/mj65_rev3.json b/src/melgeek/mj65/mj65_rev3.json new file mode 100644 index 0000000000..3048eda8a8 --- /dev/null +++ b/src/melgeek/mj65/mj65_rev3.json @@ -0,0 +1,164 @@ +{ + "name": "MelGeek MJ65 REV3", + "vendorId": "0xEDED", + "productId": "0x0065", + "lighting": { + "extends": "none", + "keycodes": "qmk" + }, + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13", + { + "c": "#cccccc" + }, + "0,14" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13", + "1,14" + ], + [ + { + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "2,12", + { + "c": "#cccccc" + }, + "2,14" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,11", + { + "c": "#cccccc" + }, + "3,12", + "3,14" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "4,5", + { + "c": "#aaaaaa" + }, + "4,9", + "4,10", + "4,11", + { + "c": "#cccccc" + }, + "4,12", + "4,13", + "4,14" + ] + ] + } +} diff --git a/src/melgeek/mojo75/mojo75_rev1.json b/src/melgeek/mojo75/mojo75_rev1.json new file mode 100644 index 0000000000..f2bc8bc56f --- /dev/null +++ b/src/melgeek/mojo75/mojo75_rev1.json @@ -0,0 +1,179 @@ +{ + "name": "MelGeek MOJO75 REV1", + "vendorId": "0xEDED", + "productId": "0x7075", + "lighting": { + "extends": "none", + "keycodes": "qmk" + }, + "matrix": { + "rows": 6, + "cols": 16 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + "0,13", + "0,14", + "0,15" + ], + [ + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13", + "1,15" + ], + [ + { + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + "2,12", + { + "w": 1.5 + }, + "2,13", + "2,15" + ], + [ + { + "w": 1.75 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,13", + { + "c": "#cccccc" + }, + "3,15" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,0", + { + "c": "#cccccc" + }, + "4,1", + "4,2", + "4,3", + "4,4", + "4,5", + "4,6", + "4,7", + "4,8", + "4,9", + "4,10", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,12", + { + "c": "#cccccc" + }, + "4,14", + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,5", + { + "c": "#aaaaaa" + }, + "5,9", + "5,10", + "5,12", + { + "c": "#cccccc" + }, + "5,13", + "5,14", + "5,15" + ] + ] + } + } \ No newline at end of file diff --git a/src/melgeek/z70/z70_ultra_rev1.json b/src/melgeek/z70/z70_ultra_rev1.json new file mode 100644 index 0000000000..b8c513f887 --- /dev/null +++ b/src/melgeek/z70/z70_ultra_rev1.json @@ -0,0 +1,120 @@ +{ + "name": "MelGeek Z70 Ultra Rev1", + "vendorId": "0xEDED", + "productId": "0x6570", + "lighting": "none", + "matrix": { "rows": 6, "cols": 14 }, + "layouts": { + "labels": [ + "Split Spacebar" + ], + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + {"w": 2}, + "0,13", + "5,6" + ], + [ + {"w": 1.5}, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + {"w": 1.5}, + "1,12", + "1,13", + "5,7" + ], + [ + {"w": 1.75}, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + {"w": 2.25}, + "2,13", + "5,9" + ], + [ + {"w": 2.25}, + "3,0", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + {"w": 1.75}, + "3,12", + "5,8", + "5,10" + ], + [ + {"w": 1.25}, + "4,0", + {"w": 1.25}, + "4,1", + {"w": 1.25}, + "4,2", + {"w": 6.25}, + "4,5\n\n\n0,0", + {"w": 1.25}, + "4,9\n\n\n0,0", + {"w": 1.25}, + "4,10", + {"x": 0.5}, + "5,11", + "5,12", + "5,13" + ], + [ + {"w": 3.75}, + {"w": 3}, + "4,4\n\n\n0,1", + {"w": 3}, + "4,6\n\n\n0,1", + {"w": 1.5}, + "4,9\n\n\n0,1" + ] + ] + } +}