summaryrefslogtreecommitdiffstats
path: root/keyboards/cospad/info.json
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-07-05 19:43:15 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-05 19:43:15 +0200
commit5953af32153a4813279c57396f6bebc798de2ae2 (patch)
tree3edabfa6254491f6ea3a1e5340267644ab0e9fc8 /keyboards/cospad/info.json
parente36cbdc7869c122c4be1295471ae3b7a6107eab9 (diff)
downloadqmk_firmware-5953af32153a4813279c57396f6bebc798de2ae2.tar.gz
qmk_firmware-5953af32153a4813279c57396f6bebc798de2ae2.tar.xz
Cospad QMK Configurator support and refactor (#3319)
* Refactor KEYMAP to LAYOUT standards - Change KEYMAP to LAYOUT_ortho - Added a new LAYOUT called LAYOUT_numpad * Use the new LAYOUT_numpad macro * Add QMK Configurator support * Change LAYOUT names as per code review * Change positioning of keys in the matrix * fix compile issue
Diffstat (limited to 'keyboards/cospad/info.json')
-rw-r--r--keyboards/cospad/info.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/cospad/info.json b/keyboards/cospad/info.json
new file mode 100644
index 000000000..4fd2ea087
--- /dev/null
+++ b/keyboards/cospad/info.json
@@ -0,0 +1,16 @@
+{
+ "keyboard_name": "",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 4,
+ "height": 6,
+ "layouts": {
+ "LAYOUT_numpad_6x4": {
+ "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Tab", "x":1, "y":0}, {"label":"Fn", "x":2, "y":0}, {"label":"Back", "x":3, "y":0}, {"label":"Num Lock", "x":0, "y":1}, {"label":"/", "x":1, "y":1}, {"label":"*", "x":2, "y":1}, {"label":"-", "x":3, "y":1}, {"label":"7", "x":0, "y":2}, {"label":"8", "x":1, "y":2}, {"label":"9", "x":2, "y":2}, {"label":"+", "x":3, "y":2, "h":2}, {"label":"4", "x":0, "y":3}, {"label":"5", "x":1, "y":3}, {"label":"6", "x":2, "y":3}, {"label":"1", "x":0, "y":4}, {"label":"2", "x":1, "y":4}, {"label":"3", "x":2, "y":4}, {"label":"Enter", "x":3, "y":4, "h":2}, {"label":"0", "x":0, "y":5, "w":2}, {"label":".", "x":2, "y":5}]
+ },
+
+ "LAYOUT_ortho_6x4": {
+ "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Tab", "x":1, "y":0}, {"label":"Fn", "x":2, "y":0}, {"label":"Back", "x":3, "y":0}, {"label":"Num Lock", "x":0, "y":1}, {"label":"/", "x":1, "y":1}, {"label":"*", "x":2, "y":1}, {"label":"-", "x":3, "y":1}, {"label":"7", "x":0, "y":2}, {"label":"8", "x":1, "y":2}, {"label":"9", "x":2, "y":2}, {"label":"+", "x":3, "y":2}, {"label":"4", "x":0, "y":3}, {"label":"5", "x":1, "y":3}, {"label":"6", "x":2, "y":3}, {"x":3, "y":3}, {"label":"1", "x":0, "y":4}, {"label":"2", "x":1, "y":4}, {"label":"3", "x":2, "y":4}, {"label":"Enter", "x":3, "y":4}, {"label":"0", "x":0, "y":5}, {"x":1, "y":5}, {"label":".", "x":2, "y":5}, {"x":3, "y":5}]
+ }
+ }
+} \ No newline at end of file