summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-12-26 16:55:42 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-26 16:55:42 +0100
commitb7d2a9f980be009f5d40950cf649ce1086b821a9 (patch)
tree509f42ea55cfc629d6c6aee8be5471137cea57e6 /keyboards
parentee1be3e5b5a0259cc7d1c7a126ff7451acf3d6cb (diff)
downloadqmk_firmware-b7d2a9f980be009f5d40950cf649ce1086b821a9.tar.gz
qmk_firmware-b7d2a9f980be009f5d40950cf649ce1086b821a9.tar.xz
S65-Plus: refactor and Configurator support (#4725)
- s65_plus.h updated to #pragma once method - added info.json file
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/s65_plus/info.json92
-rw-r--r--keyboards/s65_plus/s65_plus.h4
2 files changed, 93 insertions, 3 deletions
diff --git a/keyboards/s65_plus/info.json b/keyboards/s65_plus/info.json
new file mode 100644
index 000000000..589269db9
--- /dev/null
+++ b/keyboards/s65_plus/info.json
@@ -0,0 +1,92 @@
+{
+ "keyboard_name": "S65-Plus",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 18,
+ "height": 5,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"F2", "x":1, "y":0},
+ {"label":"ESC", "x":2, "y":0},
+ {"label":"1", "x":3, "y":0},
+ {"label":"2", "x":4, "y":0},
+ {"label":"3", "x":5, "y":0},
+ {"label":"4", "x":6, "y":0},
+ {"label":"5", "x":7, "y":0},
+ {"label":"6", "x":8, "y":0},
+ {"label":"7", "x":9, "y":0},
+ {"label":"8", "x":10, "y":0},
+ {"label":"9", "x":11, "y":0},
+ {"label":"0", "x":12, "y":0},
+ {"label":"MINUS", "x":13, "y":0},
+ {"label":"EQUAL", "x":14, "y":0},
+ {"label":"BACKSPACE", "x":15, "y":0, "w":2},
+ {"label":"DELETE", "x":17, "y":0},
+ {"label":"F3", "x":0, "y":1},
+ {"label":"F4", "x":1, "y":1},
+ {"label":"TAB", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"LBRACKET", "x":13.5, "y":1},
+ {"label":"RBRACKET", "x":14.5, "y":1},
+ {"label":"BACKSLASH", "x":15.5, "y":1, "w":1.5},
+ {"label":"PAGEUP", "x":17, "y":1},
+ {"label":"F5", "x":0, "y":2},
+ {"label":"F6", "x":1, "y":2},
+ {"label":"CAPSLOCK", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":"SEMICOLON", "x":12.75, "y":2},
+ {"label":"QUOTE", "x":13.75, "y":2},
+ {"label":"ENTER", "x":14.75, "y":2, "w":2.25},
+ {"label":"PAGEDOWN", "x":17, "y":2},
+ {"label":"F7", "x":0, "y":3},
+ {"label":"F8", "x":1, "y":3},
+ {"label":"LSHIFT", "x":2, "y":3, "w":2.25},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"COMMA", "x":11.25, "y":3},
+ {"label":"PERIOD", "x":12.25, "y":3},
+ {"label":"SLASH", "x":13.25, "y":3},
+ {"label":"RSHIFT", "x":14.25, "y":3, "w":1.75},
+ {"label":"UP", "x":16, "y":3},
+ {"label":"END", "x":17, "y":3},
+ {"label":"F9", "x":0, "y":4},
+ {"label":"F10", "x":1, "y":4},
+ {"label":"LCTRL", "x":2, "y":4, "w":1.25},
+ {"label":"LGUI", "x":3.25, "y":4, "w":1.25},
+ {"label":"LALT", "x":4.5, "y":4, "w":1.25},
+ {"label":"SPACE", "x":5.75, "y":4, "w":6.25},
+ {"label":"RALT", "x":12, "y":4},
+ {"label":"FN", "x":13, "y":4},
+ {"label":"RCTRL", "x":14, "y":4},
+ {"label":"LEFT", "x":15, "y":4},
+ {"label":"DOWN", "x":16, "y":4},
+ {"label":"RIGHT", "x":17, "y":4}
+ ]
+ }
+ }
+}
+
diff --git a/keyboards/s65_plus/s65_plus.h b/keyboards/s65_plus/s65_plus.h
index 2ff445f6c..107557108 100644
--- a/keyboards/s65_plus/s65_plus.h
+++ b/keyboards/s65_plus/s65_plus.h
@@ -1,5 +1,4 @@
-#ifndef S60PLUS_H
-#define S60PLUS_H
+#pragma once
#include "quantum.h"
@@ -20,4 +19,3 @@
void matrix_init_user(void);
void matrix_scan_user(void);
-#endif