From f66ff6ae45ed69094a8468715b7362edc250a377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20A=2E=20Volpato?= Date: Thu, 7 Dec 2023 19:52:19 -0300 Subject: [PATCH] First support for Smith and Rune Magnus (#2092) * First support for smith and rune magnus * Add lighting keycodes Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com> --------- Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com> --- v3/smithrune/magnus/m75h.json | 218 ++++++++++++++++++++++++++++ v3/smithrune/magnus/m75s.json | 260 ++++++++++++++++++++++++++++++++++ 2 files changed, 478 insertions(+) create mode 100644 v3/smithrune/magnus/m75h.json create mode 100644 v3/smithrune/magnus/m75s.json diff --git a/v3/smithrune/magnus/m75h.json b/v3/smithrune/magnus/m75h.json new file mode 100644 index 0000000000..44a6a1608b --- /dev/null +++ b/v3/smithrune/magnus/m75h.json @@ -0,0 +1,218 @@ +{ + "name": "SnR Magnus M75H", + "vendorId": "0x8384", + "productId": "0x1676", + "menus": ["qmk_rgblight"], + "keycodes": ["qmk_lighting"], + "matrix": {"rows": 11, "cols": 15}, + "layouts": { + "labels": ["Split backspace"], + "keymap":[ + [ + { + "x": 2.5, + "c": "#777777" + }, + "0,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13" + ], + [ + { + "y": 0.5, + "x": 2.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "6,7", + "6,8", + "6,9", + "6,10", + "6,11", + "6,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "6,13\n\n\n0,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "7,14", + { + "x": 3.25 + }, + "6,13\n\n\n0,1", + "6,14\n\n\n0,1" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "7,6", + "7,7", + "7,8", + "7,9", + "7,10", + "7,11", + "7,12", + { + "w": 1.5 + }, + "7,13", + { + "x": 0.25 + }, + "8,14" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.75 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "8,5", + "8,6", + "8,7", + "8,8", + "8,9", + "8,10", + "8,11", + { + "c": "#777777", + "w": 2.25 + }, + "8,13", + { + "x": 0.25, + "c": "#cccccc" + }, + "9,13" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 2.25 + }, + "4,0", + { + "c": "#cccccc" + }, + "4,2", + "4,3", + "4,4", + "9,5", + "9,6", + "9,7", + "9,8", + "9,9", + "9,10", + "9,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "9,12" + ], + [ + { + "y": -0.75, + "x": 16.75, + "c": "#cccccc" + }, + "9,14" + ], + [ + { + "y": -0.25, + "x": 2.5, + "c": "#aaaaaa", + "w": 1.25 + }, + "10,0", + { + "w": 1.25 + }, + "10,1", + { + "w": 1.25 + }, + "10,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11" + ], + [ + { + "y": -0.75, + "x": 15.75, + "c": "#cccccc" + }, + "5,12", + "5,13", + "5,14" + ] +] +} +} diff --git a/v3/smithrune/magnus/m75s.json b/v3/smithrune/magnus/m75s.json new file mode 100644 index 0000000000..0b438657a7 --- /dev/null +++ b/v3/smithrune/magnus/m75s.json @@ -0,0 +1,260 @@ +{ + "name": "Smith and Rune Magnus", + "vendorId": "0x8384", + "productId": "0x1675", + "menus": ["qmk_backlight_rgblight"], + "keycodes": ["qmk_lighting"], + "matrix": {"rows": 11, "cols": 15}, + "layouts": { + "labels": [ + "Split backspace", + "ISO Enter", + "Split left shift", + "7U bottom row" + ], + "keymap":[ + [ + { + "x": 2.5, + "c": "#777777" + }, + "0,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13" + ], + [ + { + "y": 0.5, + "x": 2.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "6,7", + "6,8", + "6,9", + "6,10", + "6,11", + "6,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "6,13\n\n\n0,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "7,14", + { + "x": 3.25 + }, + "6,13\n\n\n0,1", + "6,14\n\n\n0,1" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "7,6", + "7,7", + "7,8", + "7,9", + "7,10", + "7,11", + "7,12", + { + "w": 1.5 + }, + "7,13\n\n\n1,0", + { + "x": 0.25 + }, + "8,14", + { + "x": 4, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "8,13\n\n\n1,1" + ], + [ + { + "x": 2.5, + "c": "#aaaaaa", + "w": 1.75 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "8,5", + "8,6", + "8,7", + "8,8", + "8,9", + "8,10", + "8,11", + { + "c": "#777777", + "w": 2.25 + }, + "8,13\n\n\n1,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "9,13", + { + "x": 3 + }, + "8,12\n\n\n1,1" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0\n\n\n2,1", + "4,1\n\n\n2,1", + { + "x": 0.25, + "w": 2.25 + }, + "4,0\n\n\n2,0", + { + "c": "#cccccc" + }, + "4,2", + "4,3", + "4,4", + "9,5", + "9,6", + "9,7", + "9,8", + "9,9", + "9,10", + "9,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "9,12" + ], + [ + { + "y": -0.75, + "x": 16.75, + "c": "#cccccc" + }, + "9,14" + ], + [ + { + "y": -0.25, + "x": 2.5, + "c": "#aaaaaa", + "w": 1.25 + }, + "10,0\n\n\n3,0", + { + "w": 1.25 + }, + "10,1\n\n\n3,0", + { + "w": 1.25 + }, + "10,2\n\n\n3,0", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,6\n\n\n3,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11" + ], + [ + { + "y": -0.75, + "x": 15.75, + "c": "#cccccc" + }, + "5,12", + "5,13", + "5,14" + ], + [ + { + "y": 0.25, + "x": 2.5, + "c": "#aaaaaa", + "w": 1.5 + }, + "10,0\n\n\n3,1", + { + "w": 1.5 + }, + "10,1\n\n\n3,1", + { + "c": "#cccccc", + "w": 7 + }, + "5,6\n\n\n3,1" + ] +] +} +}