summaryrefslogtreecommitdiff
path: root/keyboards/jones
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jones')
-rw-r--r--keyboards/jones/v03/config.h3
-rw-r--r--keyboards/jones/v03/info.json236
-rw-r--r--keyboards/jones/v03/v03.c17
-rw-r--r--keyboards/jones/v03/v03.h105
-rw-r--r--keyboards/jones/v03_1/config.h3
-rw-r--r--keyboards/jones/v03_1/info.json236
-rw-r--r--keyboards/jones/v03_1/v03_1.c22
-rw-r--r--keyboards/jones/v03_1/v03_1.h105
-rw-r--r--keyboards/jones/v1/config.h10
-rw-r--r--keyboards/jones/v1/info.json95
-rw-r--r--keyboards/jones/v1/keymaps/via/keymap.c8
-rw-r--r--keyboards/jones/v1/v1.c22
-rw-r--r--keyboards/jones/v1/v1.h57
13 files changed, 562 insertions, 357 deletions
diff --git a/keyboards/jones/v03/config.h b/keyboards/jones/v03/config.h
index fc1ae1ff77..9b93ea9e3c 100644
--- a/keyboards/jones/v03/config.h
+++ b/keyboards/jones/v03/config.h
@@ -48,8 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_CLICKY
#endif
-#define RGB_DI_PIN B7
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 6 // Left(4) + Right(2)
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
@@ -69,7 +67,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
-#endif
/*
* Feature disable options
diff --git a/keyboards/jones/v03/info.json b/keyboards/jones/v03/info.json
index 388c0fb9ef..6b4dbb0884 100644
--- a/keyboards/jones/v03/info.json
+++ b/keyboards/jones/v03/info.json
@@ -14,33 +14,239 @@
{"pin_a": "B3", "pin_b": "B2"}
]
},
+ "ws2812": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ansi": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"", "x":11, "y":0}, {"label":"", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Backspace", "x":11.5, "y":1, "w":1.5}, {"label":"{", "x":13, "y":1}, {"label":"}", "x":14, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":":", "x":10.5, "y":2}, {"label":"Enter", "x":11.5, "y":2, "w":2.25}, {"label":"\u201d", "x":13.75, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"Fn", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"Caps", "x":1, "y":4}, {"label":"Opt", "x":2, "y":4, "w":1.25}, {"label":"Cmd", "x":3.25, "y":4, "w":1.25}, {"label":"Space & Shift", "x":4.5, "y":4, "w":2}, {"label":"Space & Raise", "x":6.5, "y":4, "w":2}, {"label":"Cmd", "x":8.5, "y":4, "w":1.25}, {"label":"Opt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 8], "x": 11.5, "y": 1, "w": 1.5},
+ {"matrix": [1, 9], "x": 13, "y": 1},
+ {"matrix": [1, 10], "x": 14, "y": 1},
+
+ {"matrix": [8, 0], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 2], "x": 1.5, "y": 2},
+ {"matrix": [8, 3], "x": 2.5, "y": 2},
+ {"matrix": [8, 4], "x": 3.5, "y": 2},
+ {"matrix": [8, 5], "x": 4.5, "y": 2},
+ {"matrix": [8, 6], "x": 5.5, "y": 2},
+ {"matrix": [8, 7], "x": 6.5, "y": 2},
+ {"matrix": [7, 8], "x": 7.5, "y": 2},
+ {"matrix": [7, 9], "x": 8.5, "y": 2},
+ {"matrix": [7, 10], "x": 9.5, "y": 2},
+ {"matrix": [2, 7], "x": 10.5, "y": 2},
+ {"matrix": [2, 8], "x": 11.5, "y": 2, "w": 2.25},
+ {"matrix": [2, 10], "x": 13.75, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4, "w": 1.25},
+ {"matrix": [10, 5], "x": 4.5, "y": 4, "w": 2},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
]
},
"LAYOUT_jp": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"&", "x":6, "y":0}, {"label":"'", "x":7, "y":0}, {"label":"(", "x":8, "y":0}, {"label":")", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"=", "x":11, "y":0}, {"label":"BS", "x":12, "y":0}, {"label":"~", "x":13, "y":0}, {"label":"|", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Enter", "x":11.5, "y":1, "w":1.25, "h":2, "r":180, "rx":12.125, "ry":1.5}, {"label":"`", "x":12.75, "y":1}, {"label":"{", "x":13.75, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":"+", "x":10.5, "y":2}, {"label":"*", "x":13, "y":2}, {"label":"}", "x":14, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"_", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"\u7530", "x":1, "y":4}, {"label":"Alt", "x":2, "y":4, "w":1.25}, {"label":"\u7121\u5909\u63db", "x":3.25, "y":4}, {"label":"Space", "x":4.25, "y":4, "w":2.25}, {"label":"Space", "x":6.5, "y":4, "w":2}, {"label":"\u5909\u63db", "x":8.5, "y":4, "w":1.25}, {"label":"\u30ab\u30ca", "x":9.75, "y":4, "w":1.25}, {"label":"\u76ee", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}]
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 9], "x": 11.5, "y": 1, "w": 1.25, "h": 2, "r": 180, "rx": 12.125, "ry": 1.5},
+ {"matrix": [1, 10], "x": 12.75, "y": 1},
+ {"matrix": [8, 0], "x": 13.75, "y": 1},
+
+ {"matrix": [8, 2], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 3], "x": 1.5, "y": 2},
+ {"matrix": [8, 4], "x": 2.5, "y": 2},
+ {"matrix": [8, 5], "x": 3.5, "y": 2},
+ {"matrix": [8, 6], "x": 4.5, "y": 2},
+ {"matrix": [8, 7], "x": 5.5, "y": 2},
+ {"matrix": [7, 8], "x": 6.5, "y": 2},
+ {"matrix": [7, 9], "x": 7.5, "y": 2},
+ {"matrix": [7, 10], "x": 8.5, "y": 2},
+ {"matrix": [2, 7], "x": 9.5, "y": 2},
+ {"matrix": [2, 8], "x": 10.5, "y": 2},
+ {"matrix": [2, 9], "x": 13, "y": 2},
+ {"matrix": [2, 10], "x": 14, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4},
+ {"matrix": [10, 5], "x": 4.25, "y": 4, "w": 2.25},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
+ ]
},
"LAYOUT_all": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"", "x":11, "y":0}, {"label":"", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Backspace", "x":11.5, "y":1, "w":1.5}, {"label":"{", "x":13, "y":1}, {"label":"}", "x":14, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":":", "x":10.5, "y":2}, {"label":"Enter", "x":11.5, "y":2, "w":1.5}, {"label":"\u201d", "x":13, "y":2}, {"label":"\u201d", "x":14, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"Fn", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"Caps", "x":1, "y":4}, {"label":"Opt", "x":2, "y":4, "w":1.25}, {"label":"Cmd", "x":3.25, "y":4, "w":1.25}, {"label":"Space & Shift", "x":4.5, "y":4, "w":2}, {"label":"Space & Raise", "x":6.5, "y":4, "w":2}, {"label":"Cmd", "x":8.5, "y":4, "w":1.25}, {"label":"Opt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 8], "x": 11.5, "y": 1, "w": 1.5},
+ {"matrix": [1, 9], "x": 13, "y": 1},
+ {"matrix": [1, 10], "x": 14, "y": 1},
+
+ {"matrix": [8, 0], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 2], "x": 1.5, "y": 2},
+ {"matrix": [8, 3], "x": 2.5, "y": 2},
+ {"matrix": [8, 4], "x": 3.5, "y": 2},
+ {"matrix": [8, 5], "x": 4.5, "y": 2},
+ {"matrix": [8, 6], "x": 5.5, "y": 2},
+ {"matrix": [8, 7], "x": 6.5, "y": 2},
+ {"matrix": [7, 8], "x": 7.5, "y": 2},
+ {"matrix": [7, 9], "x": 8.5, "y": 2},
+ {"matrix": [7, 10], "x": 9.5, "y": 2},
+ {"matrix": [2, 7], "x": 10.5, "y": 2},
+ {"matrix": [2, 8], "x": 11.5, "y": 2, "w": 1.5},
+ {"matrix": [2, 9], "x": 13, "y": 2},
+ {"matrix": [2, 10], "x": 14, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4, "w": 1.25},
+ {"matrix": [10, 5], "x": 4.5, "y": 4, "w": 2},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
]
}
}
diff --git a/keyboards/jones/v03/v03.c b/keyboards/jones/v03/v03.c
deleted file mode 100644
index 9bc63fe961..0000000000
--- a/keyboards/jones/v03/v03.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 Takeshi Nishio
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "v03.h"
diff --git a/keyboards/jones/v03/v03.h b/keyboards/jones/v03/v03.h
deleted file mode 100644
index 6584f6cbc2..0000000000
--- a/keyboards/jones/v03/v03.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/* Copyright 2020 Takeshi Nishio
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-/*
-FULL 11x11 ROUND-ROBIN MATRIX for Reference
-{ KC_NO, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1 }, \
-{ k12, KC_NO, k32, k42, k52, k62, k72, k82, k92, ka2, kb2 }, \
-{ k13, k23, KC_NO, k43, k53, k63, k73, k83, k93, ka3, kb3 }, \
-{ k14, k24, k34, KC_NO, k54, k64, k74, k84, k94, ka4, kb4 }, \
-{ k15, k25, k35, k45, KC_NO, k65, k75, k85, k95, ka5, kb5 }, \
-{ k16, k26, k36, k46, k56, KC_NO, k76, k86, k96, ka6, kb6 }, \
-{ k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
-{ k18, k28, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
-{ k19, k29, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
-{ k1a, k2a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, kba }, \
-{ k1b, k2b, k3b, k4b, k5b, k6b, k7b, k8b, k9b, kab, KC_NO } \
-*/
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT_all( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, K92, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, ka3, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, KC_NO, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, ka3, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
-
-#define LAYOUT_ansi( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, k92, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, k92, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, KC_NO, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
-
-#define LAYOUT_jp( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, ka3, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, KC_NO, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, ka3, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
diff --git a/keyboards/jones/v03_1/config.h b/keyboards/jones/v03_1/config.h
index 548b98e675..f7183265d8 100644
--- a/keyboards/jones/v03_1/config.h
+++ b/keyboards/jones/v03_1/config.h
@@ -48,8 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_CLICKY
#endif
-#define RGB_DI_PIN F0
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 14 // Left(4) + Right(2) + Under(8)
#define RGBLIGHT_LED_MAP {0,1,2,3,13,12,4,5,6,7,8,9,10,11} // Left --> Right --> Under
#define RGBLIGHT_HUE_STEP 8
@@ -70,7 +68,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
-#endif
/*
* Feature disable options
diff --git a/keyboards/jones/v03_1/info.json b/keyboards/jones/v03_1/info.json
index 45e7b8022f..d0fec4e571 100644
--- a/keyboards/jones/v03_1/info.json
+++ b/keyboards/jones/v03_1/info.json
@@ -14,33 +14,239 @@
{"pin_a": "B3", "pin_b": "B2"}
]
},
+ "ws2812": {
+ "pin": "F0"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ansi": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"", "x":11, "y":0}, {"label":"", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Backspace", "x":11.5, "y":1, "w":1.5}, {"label":"{", "x":13, "y":1}, {"label":"}", "x":14, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":":", "x":10.5, "y":2}, {"label":"Enter", "x":11.5, "y":2, "w":2.25}, {"label":"\u201d", "x":13.75, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"Fn", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"Caps", "x":1, "y":4}, {"label":"Opt", "x":2, "y":4, "w":1.25}, {"label":"Cmd", "x":3.25, "y":4, "w":1.25}, {"label":"Space & Shift", "x":4.5, "y":4, "w":2}, {"label":"Space & Raise", "x":6.5, "y":4, "w":2}, {"label":"Cmd", "x":8.5, "y":4, "w":1.25}, {"label":"Opt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 8], "x": 11.5, "y": 1, "w": 1.5},
+ {"matrix": [1, 9], "x": 13, "y": 1},
+ {"matrix": [1, 10], "x": 14, "y": 1},
+
+ {"matrix": [8, 0], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 2], "x": 1.5, "y": 2},
+ {"matrix": [8, 3], "x": 2.5, "y": 2},
+ {"matrix": [8, 4], "x": 3.5, "y": 2},
+ {"matrix": [8, 5], "x": 4.5, "y": 2},
+ {"matrix": [8, 6], "x": 5.5, "y": 2},
+ {"matrix": [8, 7], "x": 6.5, "y": 2},
+ {"matrix": [7, 8], "x": 7.5, "y": 2},
+ {"matrix": [7, 9], "x": 8.5, "y": 2},
+ {"matrix": [7, 10], "x": 9.5, "y": 2},
+ {"matrix": [2, 7], "x": 10.5, "y": 2},
+ {"matrix": [2, 8], "x": 11.5, "y": 2, "w": 2.25},
+ {"matrix": [2, 10], "x": 13.75, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4, "w": 1.25},
+ {"matrix": [10, 5], "x": 4.5, "y": 4, "w": 2},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
]
},
"LAYOUT_jp": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"&", "x":6, "y":0}, {"label":"'", "x":7, "y":0}, {"label":"(", "x":8, "y":0}, {"label":")", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"=", "x":11, "y":0}, {"label":"BS", "x":12, "y":0}, {"label":"~", "x":13, "y":0}, {"label":"|", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Enter", "x":11.5, "y":1, "w":1.25, "h":2, "r":180, "rx":12.125, "ry":1.5}, {"label":"`", "x":12.75, "y":1}, {"label":"{", "x":13.75, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":"+", "x":10.5, "y":2}, {"label":"*", "x":13, "y":2}, {"label":"}", "x":14, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"_", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"\u7530", "x":1, "y":4}, {"label":"Alt", "x":2, "y":4, "w":1.25}, {"label":"\u7121\u5909\u63db", "x":3.25, "y":4}, {"label":"Space", "x":4.25, "y":4, "w":2.25}, {"label":"Space", "x":6.5, "y":4, "w":2}, {"label":"\u5909\u63db", "x":8.5, "y":4, "w":1.25}, {"label":"\u30ab\u30ca", "x":9.75, "y":4, "w":1.25}, {"label":"\u76ee", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}]
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 9], "x": 11.5, "y": 1, "w": 1.25, "h": 2, "r": 180, "rx": 12.125, "ry": 1.5},
+ {"matrix": [1, 10], "x": 12.75, "y": 1},
+ {"matrix": [8, 0], "x": 13.75, "y": 1},
+
+ {"matrix": [8, 2], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 3], "x": 1.5, "y": 2},
+ {"matrix": [8, 4], "x": 2.5, "y": 2},
+ {"matrix": [8, 5], "x": 3.5, "y": 2},
+ {"matrix": [8, 6], "x": 4.5, "y": 2},
+ {"matrix": [8, 7], "x": 5.5, "y": 2},
+ {"matrix": [7, 8], "x": 6.5, "y": 2},
+ {"matrix": [7, 9], "x": 7.5, "y": 2},
+ {"matrix": [7, 10], "x": 8.5, "y": 2},
+ {"matrix": [2, 7], "x": 9.5, "y": 2},
+ {"matrix": [2, 8], "x": 10.5, "y": 2},
+ {"matrix": [2, 9], "x": 13, "y": 2},
+ {"matrix": [2, 10], "x": 14, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4},
+ {"matrix": [10, 5], "x": 4.25, "y": 4, "w": 2.25},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
+ ]
},
"LAYOUT_all": {
"layout": [
- {"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"", "x":11, "y":0}, {"label":"", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "y":0},
- {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"Backspace", "x":11.5, "y":1, "w":1.5}, {"label":"{", "x":13, "y":1}, {"label":"}", "x":14, "y":1},
- {"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":":", "x":10.5, "y":2}, {"label":"Enter", "x":11.5, "y":2, "w":1.5}, {"label":"\u201d", "x":13, "y":2}, {"label":"\u201d", "x":14, "y":2},
- {"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"Fn", "x":14, "y":3},
- {"label":"Rotary", "x":0, "y":4}, {"label":"Caps", "x":1, "y":4}, {"label":"Opt", "x":2, "y":4, "w":1.25}, {"label":"Cmd", "x":3.25, "y":4, "w":1.25}, {"label":"Space & Shift", "x":4.5, "y":4, "w":2}, {"label":"Space & Raise", "x":6.5, "y":4, "w":2}, {"label":"Cmd", "x":8.5, "y":4, "w":1.25}, {"label":"Opt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}
+ {"matrix": [6, 0], "x": 0, "y": 0},
+ {"matrix": [6, 1], "x": 1, "y": 0},
+ {"matrix": [6, 2], "x": 2, "y": 0},
+ {"matrix": [6, 3], "x": 3, "y": 0},
+ {"matrix": [6, 4], "x": 4, "y": 0},
+ {"matrix": [6, 5], "x": 5, "y": 0},
+ {"matrix": [5, 6], "x": 6, "y": 0},
+ {"matrix": [5, 7], "x": 7, "y": 0},
+ {"matrix": [5, 8], "x": 8, "y": 0},
+ {"matrix": [5, 9], "x": 9, "y": 0},
+ {"matrix": [5, 10], "x": 10, "y": 0},
+ {"matrix": [0, 7], "x": 11, "y": 0},
+ {"matrix": [0, 8], "x": 12, "y": 0},
+ {"matrix": [0, 9], "x": 13, "y": 0},
+ {"matrix": [0, 10], "x": 14, "y": 0},
+
+ {"matrix": [7, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [7, 2], "x": 1.5, "y": 1},
+ {"matrix": [7, 3], "x": 2.5, "y": 1},
+ {"matrix": [7, 4], "x": 3.5, "y": 1},
+ {"matrix": [7, 5], "x": 4.5, "y": 1},
+ {"matrix": [7, 6], "x": 5.5, "y": 1},
+ {"matrix": [6, 7], "x": 6.5, "y": 1},
+ {"matrix": [6, 8], "x": 7.5, "y": 1},
+ {"matrix": [6, 9], "x": 8.5, "y": 1},
+ {"matrix": [6, 10], "x": 9.5, "y": 1},
+ {"matrix": [1, 7], "x": 10.5, "y": 1},
+ {"matrix": [1, 8], "x": 11.5, "y": 1, "w": 1.5},
+ {"matrix": [1, 9], "x": 13, "y": 1},
+ {"matrix": [1, 10], "x": 14, "y": 1},
+
+ {"matrix": [8, 0], "x": 0.25, "y": 2, "w": 1.25},
+ {"matrix": [8, 2], "x": 1.5, "y": 2},
+ {"matrix": [8, 3], "x": 2.5, "y": 2},
+ {"matrix": [8, 4], "x": 3.5, "y": 2},
+ {"matrix": [8, 5], "x": 4.5, "y": 2},
+ {"matrix": [8, 6], "x": 5.5, "y": 2},
+ {"matrix": [8, 7], "x": 6.5, "y": 2},
+ {"matrix": [7, 8], "x": 7.5, "y": 2},
+ {"matrix": [7, 9], "x": 8.5, "y": 2},
+ {"matrix": [7, 10], "x": 9.5, "y": 2},
+ {"matrix": [2, 7], "x": 10.5, "y": 2},
+ {"matrix": [2, 8], "x": 11.5, "y": 2, "w": 1.5},
+ {"matrix": [2, 9], "x": 13, "y": 2},
+ {"matrix": [2, 10], "x": 14, "y": 2},
+
+ {"matrix": [9, 0], "x": 0.25, "y": 3, "w": 1.75},
+ {"matrix": [9, 2], "x": 2, "y": 3},
+ {"matrix": [9, 3], "x": 3, "y": 3},
+ {"matrix": [9, 4], "x": 4, "y": 3},
+ {"matrix": [9, 5], "x": 5, "y": 3},
+ {"matrix": [9, 6], "x": 6, "y": 3},
+ {"matrix": [9, 7], "x": 7, "y": 3},
+ {"matrix": [9, 8], "x": 8, "y": 3},
+ {"matrix": [8, 9], "x": 9, "y": 3},
+ {"matrix": [8, 10], "x": 10, "y": 3},
+ {"matrix": [3, 7], "x": 11, "y": 3},
+ {"matrix": [3, 8], "x": 12, "y": 3},
+ {"matrix": [3, 9], "x": 13, "y": 3},
+ {"matrix": [3, 10], "x": 14, "y": 3},
+
+ {"matrix": [10, 0], "x": 0, "y": 4},
+ {"matrix": [10, 1], "x": 1, "y": 4},
+ {"matrix": [10, 2], "x": 2, "y": 4, "w": 1.25},
+ {"matrix": [10, 3], "x": 3.25, "y": 4, "w": 1.25},
+ {"matrix": [10, 5], "x": 4.5, "y": 4, "w": 2},
+ {"matrix": [10, 7], "x": 6.5, "y": 4, "w": 2},
+ {"matrix": [10, 8], "x": 8.5, "y": 4, "w": 1.25},
+ {"matrix": [10, 9], "x": 9.75, "y": 4, "w": 1.25},
+ {"matrix": [4, 7], "x": 11, "y": 4},
+ {"matrix": [4, 8], "x": 12, "y": 4},
+ {"matrix": [4, 9], "x": 13, "y": 4},
+ {"matrix": [4, 10], "x": 14, "y": 4}
]
}
}
diff --git a/keyboards/jones/v03_1/v03_1.c b/keyboards/jones/v03_1/v03_1.c
index 33ff0051a6..538a99d565 100644
--- a/keyboards/jones/v03_1/v03_1.c
+++ b/keyboards/jones/v03_1/v03_1.c
@@ -14,14 +14,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "v03_1.h"
+#include "quantum.h"
#if defined(AUDIO_ENABLE) && defined(MUSIC_MAP)
-const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_all(
- 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
- 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
-);
+const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
+ { 0, 0, 0, 0, 0, 0, 0, 64, 65, 66, 67},
+ { 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52},
+ { 0, 0, 0, 0, 0, 0, 0, 35, 36, 37, 38},
+ { 0, 0, 0, 0, 0, 0, 0, 21, 22, 23, 24},
+ { 0, 0, 0, 0, 0, 0, 0, 8, 9, 10, 11},
+ { 0, 0, 0, 0, 0, 0, 59, 60, 61, 62, 63},
+ {53, 54, 55, 56, 57, 58, 0, 45, 46, 47, 48},
+ {39, 0, 40, 41, 42, 43, 44, 0, 32, 33, 34},
+ {25, 0, 26, 27, 28, 29, 30, 31, 0, 19, 20},
+ {11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0},
+ { 0, 1, 2, 3, 0, 4, 0, 5, 6, 7, 0}
+};
#endif
diff --git a/keyboards/jones/v03_1/v03_1.h b/keyboards/jones/v03_1/v03_1.h
deleted file mode 100644
index 38f894c5dd..0000000000
--- a/keyboards/jones/v03_1/v03_1.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/* Copyright 2020 Takeshi Nishio
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-/*
-FULL 11x11 ROUND-ROBIN MATRIX for Reference
-{ KC_NO, k21, k31, k41, k51, k61, k71, k81, k91, ka1, kb1 }, \
-{ k12, KC_NO, k32, k42, k52, k62, k72, k82, k92, ka2, kb2 }, \
-{ k13, k23, KC_NO, k43, k53, k63, k73, k83, k93, ka3, kb3 }, \
-{ k14, k24, k34, KC_NO, k54, k64, k74, k84, k94, ka4, kb4 }, \
-{ k15, k25, k35, k45, KC_NO, k65, k75, k85, k95, ka5, kb5 }, \
-{ k16, k26, k36, k46, k56, KC_NO, k76, k86, k96, ka6, kb6 }, \
-{ k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
-{ k18, k28, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
-{ k19, k29, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
-{ k1a, k2a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, kba }, \
-{ k1b, k2b, k3b, k4b, k5b, k6b, k7b, k8b, k9b, kab, KC_NO } \
-*/
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT_all( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, k92, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, ka3, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, k92, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, ka3, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
-
-#define LAYOUT_ansi( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, k92, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, k92, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, KC_NO, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
-
-#define LAYOUT_jp( \
- k17, k27, k37, k47, k57, k67, k76, k86, k96, ka6, kb6, k81, k91, ka1, kb1, \
- k18, k38, k48, k58, k68, k78, k87, k97, ka7, kb7, k82, ka2, kb2, \
- k19, k39, k49, k59, k69, k79, k89, k98, ka8, kb8, k83, k93, ka3, kb3, \
- k1a, k3a, k4a, k5a, k6a, k7a, k8a, k9a, ka9, kb9, k84, k94, ka4, kb4, \
- k1b, k2b, k3b, k4b, k6b, k8b, k9b, kab, k85, k95, ka5, kb5 \
-) \
-{ \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k81, k91, ka1, kb1 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k82, KC_NO, ka2, kb2 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k83, k93, ka3, kb3 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k84, k94, ka4, kb4 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k85, k95, ka5, kb5 }, \
- { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k76, k86, k96, ka6, kb6 }, \
- { k17, k27, k37, k47, k57, k67, KC_NO, k87, k97, ka7, kb7 }, \
- { k18, KC_NO, k38, k48, k58, k68, k78, KC_NO, k98, ka8, kb8 }, \
- { k19, KC_NO, k39, k49, k59, k69, k79, k89, KC_NO, ka9, kb9 }, \
- { k1a, KC_NO, k3a, k4a, k5a, k6a, k7a, k8a, k9a, KC_NO, KC_NO }, \
- { k1b, k2b, k3b, k4b, KC_NO, k6b, KC_NO, k8b, k9b, kab, KC_NO } \
-}
diff --git a/keyboards/jones/v1/config.h b/keyboards/jones/v1/config.h
index 1936d5d256..92801acea7 100644
--- a/keyboards/jones/v1/config.h
+++ b/keyboards/jones/v1/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-// Same pins for Round-Robin matrix.
-#define MATRIX_ROW_PINS { B3, B2, E6, D6, D4, B0, B1, B7, B4, D7 }
-#define MATRIX_COL_PINS { B3, B2, E6, D6, D4, B0, B1, B7, B4, D7 }
-
-#define DIODE_DIRECTION COL2ROW
-
/* Audio */
#ifdef AUDIO_ENABLE
#define AUDIO_PIN C6
@@ -32,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
/* RGBLIGHT */
-#define RGB_DI_PIN F1
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 4 // Left(2) + Right(2)
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
@@ -42,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*== Lighting Layers ==*/
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
-#endif
/* External EEPROM */
// Use 24LC64 EEPROM
diff --git a/keyboards/jones/v1/info.json b/keyboards/jones/v1/info.json
index 37f0b70087..cd0286ef6b 100644
--- a/keyboards/jones/v1/info.json
+++ b/keyboards/jones/v1/info.json
@@ -8,6 +8,14 @@
"pid": "0x175A",
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"],
+ "rows": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"]
+ },
+ "ws2812": {
+ "pin": "F1"
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "F4"},
@@ -22,12 +30,87 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0.5, "y":0}, {"x":1.5, "y":0}, {"x":2.5, "y":0}, {"x":3.5, "y":0}, {"x":4.5, "y":0}, {"x":5.5, "y":0}, {"x":6.5, "y":0}, {"x":7.5, "y":0}, {"x":8.5, "y":0}, {"x":9.5, "y":0}, {"x":10.5, "y":0}, {"x":11.5, "y":0}, {"x":12.5, "y":0}, {"x":13.5, "y":0}, {"x":14.5, "y":0},
- {"x":0.5, "y":1, "w":1.5}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1, "w":1.5},
- {"x":0.5, "y":2, "w":1.5}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2, "w":1.5},
- {"x":0.5, "y":3}, {"x":1.5, "y":3}, {"x":2.5, "y":3}, {"x":3.5, "y":3}, {"x":4.5, "y":3}, {"x":5.5, "y":3}, {"x":6.5, "y":3}, {"x":7.5, "y":3}, {"x":8.5, "y":3}, {"x":9.5, "y":3}, {"x":10.5, "y":3}, {"x":11.5, "y":3}, {"x":12.5, "y":3}, {"x":13.5, "y":3}, {"x":14.5, "y":3},
- {"x":0.5, "y":4}, {"x":1.5, "y":4}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":1.25}, {"x":5, "y":4, "w":1.5}, {"x":6.5, "y":4}, {"x":7.5, "y":4}, {"x":8.5, "y":4}, {"x":9.5, "y":4, "w":1.5}, {"x":11, "y":4, "w":1.25}, {"x":12.25, "y":4, "w":1.25}, {"x":13.5, "y":4}, {"x":14.5, "y":4},
- {"x":0, "y":5}, {"x":1, "y":5}, {"x":14, "y":5}, {"x":15, "y":5}
+ {"label": "k09", "matrix": [0, 9], "x": 0.5, "y": 0},
+ {"label": "k59", "matrix": [5, 9], "x": 1.5, "y": 0},
+ {"label": "k08", "matrix": [0, 8], "x": 2.5, "y": 0},
+ {"label": "k54", "matrix": [5, 4], "x": 3.5, "y": 0},
+ {"label": "k04", "matrix": [0, 4], "x": 4.5, "y": 0},
+ {"label": "k50", "matrix": [5, 0], "x": 5.5, "y": 0},
+ {"label": "k56", "matrix": [5, 6], "x": 6.5, "y": 0},
+ {"label": "k06", "matrix": [0, 6], "x": 7.5, "y": 0},
+ {"label": "k05", "matrix": [0, 5], "x": 8.5, "y": 0},
+ {"label": "k52", "matrix": [5, 2], "x": 9.5, "y": 0},
+ {"label": "k02", "matrix": [0, 2], "x": 10.5, "y": 0},
+ {"label": "k53", "matrix": [5, 3], "x": 11.5, "y": 0},
+ {"label": "k07", "matrix": [0, 7], "x": 12.5, "y": 0},
+ {"label": "k51", "matrix": [5, 1], "x": 13.5, "y": 0},
+ {"label": "k01", "matrix": [0, 1], "x": 14.5, "y": 0},
+
+ {"label": "k19", "matrix": [1, 9], "x": 0.5, "y": 1, "w": 1.5},
+ {"label": "k69", "matrix": [6, 9], "x": 2, "y": 1},
+ {"label": "k18", "matrix": [1, 8], "x": 3, "y": 1},
+ {"label": "k64", "matrix": [6, 4], "x": 4, "y": 1},
+ {"label": "k14", "matrix": [1, 4], "x": 5, "y": 1},
+ {"label": "k60", "matrix": [6, 0], "x": 6, "y": 1},
+ {"label": "k10", "matrix": [1, 0], "x": 7, "y": 1},
+ {"label": "k16", "matrix": [1, 6], "x": 8, "y": 1},
+ {"label": "k15", "matrix": [1, 5], "x": 9, "y": 1},
+ {"label": "k62", "matrix": [6, 2], "x": 10, "y": 1},
+ {"label": "k12", "matrix": [1, 2], "x": 11, "y": 1},
+ {"label": "k63", "matrix": [6, 3], "x": 12, "y": 1},
+ {"label": "k17", "matrix": [1, 7], "x": 13, "y": 1},
+ {"label": "k61", "matrix": [6, 1], "x": 14, "y": 1, "w": 1.5},
+
+ {"label": "k29", "matrix": [2, 9], "x": 0.5, "y": 2, "w": 1.5},
+ {"label": "k79", "matrix": [7, 9], "x": 2, "y": 2},
+ {"label": "k28", "matrix": [2, 8], "x": 3, "y": 2},
+ {"label": "k74", "matrix": [7, 4], "x": 4, "y": 2},
+ {"label": "k24", "matrix": [2, 4], "x": 5, "y": 2},
+ {"label": "k70", "matrix": [7, 0], "x": 6, "y": 2},
+ {"label": "k20", "matrix": [2, 0], "x": 7, "y": 2},
+ {"label": "k26", "matrix": [2, 6], "x": 8, "y": 2},
+ {"label": "k25", "matrix": [2, 5], "x": 9, "y": 2},
+ {"label": "k72", "matrix": [7, 2], "x": 10, "y": 2},
+ {"label": "k23", "matrix": [2, 3], "x": 11, "y": 2},
+ {"label": "k73", "matrix": [7, 3], "x": 12, "y": 2},
+ {"label": "k27", "matrix": [2, 7], "x": 13, "y": 2},
+ {"label": "k71", "matrix": [7, 1], "x": 14, "y": 2, "w": 1.5},
+
+ {"label": "k39", "matrix": [3, 9], "x": 0.5, "y": 3},
+ {"label": "k89", "matrix": [8, 9], "x": 1.5, "y": 3},
+ {"label": "k38", "matrix": [3, 8], "x": 2.5, "y": 3},
+ {"label": "k84", "matrix": [8, 4], "x": 3.5, "y": 3},
+ {"label": "k34", "matrix": [3, 4], "x": 4.5, "y": 3},
+ {"label": "k80", "matrix": [8, 0], "x": 5.5, "y": 3},
+ {"label": "k30", "matrix": [3, 0], "x": 6.5, "y": 3},
+ {"label": "k36", "matrix": [3, 6], "x": 7.5, "y": 3},
+ {"label": "k35", "matrix": [3, 5], "x": 8.5, "y": 3},
+ {"label": "k82", "matrix": [8, 2], "x": 9.5, "y": 3},
+ {"label": "k32", "matrix": [3, 2], "x": 10.5, "y": 3},
+ {"label": "k83", "matrix": [8, 3], "x": 11.5, "y": 3},
+ {"label": "k37", "matrix": [3, 7], "x": 12.5, "y": 3},
+ {"label": "k81", "matrix": [8, 1], "x": 13.5, "y": 3},
+ {"label": "k31", "matrix": [3, 1], "x": 14.5, "y": 3},
+
+ {"label": "k49", "matrix": [4, 9], "x": 0.5, "y": 4},
+ {"label": "k98", "matrix": [9, 8], "x": 1.5, "y": 4},
+ {"label": "k48", "matrix": [4, 8], "x": 2.5, "y": 4, "w": 1.25},
+ {"label": "k94", "matrix": [9, 4], "x": 3.75, "y": 4, "w": 1.25},
+ {"label": "k90", "matrix": [9, 0], "x": 5, "y": 4, "w": 1.5},
+ {"label": "k46", "matrix": [4, 6], "x": 6.5, "y": 4},
+ {"label": "k45", "matrix": [4, 5], "x": 7.5, "y": 4},
+ {"label": "k92", "matrix": [9, 2], "x": 8.5, "y": 4},
+ {"label": "k42", "matrix": [4, 2], "x": 9.5, "y": 4, "w": 1.5},
+ {"label": "k93", "matrix": [9, 3], "x": 11, "y": 4, "w": 1.25},
+ {"label": "k47", "matrix": [4, 7], "x": 12.25, "y": 4, "w": 1.25},
+ {"label": "k91", "matrix": [9, 1], "x": 13.5, "y": 4},
+ {"label": "k41", "matrix": [4, 1], "x": 14.5, "y": 4},
+
+ {"label": "k85", "matrix": [8, 5], "x": 0, "y": 5},
+ {"label": "k86", "matrix": [8, 6], "x": 1, "y": 5},
+
+ {"label": "k95", "matrix": [9, 5], "x": 14, "y": 5},
+ {"label": "k96", "matrix": [9, 6], "x": 15, "y": 5}
]
}
}
diff --git a/keyboards/jones/v1/keymaps/via/keymap.c b/keyboards/jones/v1/keymaps/via/keymap.c
index 31a182733a..3b41c40174 100644
--- a/keyboards/jones/v1/keymaps/via/keymap.c
+++ b/keyboards/jones/v1/keymaps/via/keymap.c
@@ -178,7 +178,8 @@ void encoder_action_unregister(void) {
keyevent_t encoder_event = (keyevent_t) {
.key = encoder_state[index] >> 1 ? encoder_cw[index] : encoder_ccw[index],
.pressed = false,
- .time = (timer_read() | 1)
+ .time = timer_read(),
+ .type = KEY_EVENT
};
encoder_state[index] = 0;
action_exec(encoder_event);
@@ -190,7 +191,8 @@ void encoder_action_register(uint8_t index, bool clockwise) {
keyevent_t encoder_event = (keyevent_t) {
.key = clockwise ? encoder_cw[index] : encoder_ccw[index],
.pressed = true,
- .time = (timer_read() | 1)
+ .time = timer_read(),
+ .type = KEY_EVENT
};
encoder_state[index] = (clockwise ^ 1) | (clockwise << 1);
action_exec(encoder_event);
@@ -212,7 +214,6 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
//------------------------------------------------------------------------------
void keyboard_post_init_user(void) {
debug_enable=true;
-#ifdef RGB_DI_PIN
#ifdef RGBLIGHT_LAYERS
// Enable the LED layers.
rgblight_layers = my_rgb_layers;
@@ -220,6 +221,5 @@ debug_enable=true;
// prevent RGB light overrides layer indicator.
layer_state_set(default_layer_state);
#endif
-#endif
}
diff --git a/keyboards/jones/v1/v1.c b/keyboards/jones/v1/v1.c
index 292a1fbabe..7ad641e41f 100644
--- a/keyboards/jones/v1/v1.c
+++ b/keyboards/jones/v1/v1.c
@@ -14,15 +14,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "v1.h"
+#include "quantum.h"
#if defined(AUDIO_ENABLE) && defined(MUSIC_MAP)
-const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT(
- 0, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
- 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0
-);
+const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
+ { 0, 37, 33, 0, 27, 31, 30, 35, 25, 0},
+ {17, 0, 21, 0, 15, 19, 18, 23, 13, 0},
+ {17, 0, 0, 21, 15, 19, 18, 23, 13, 0},
+ { 4, 12, 8, 0, 2, 6, 5, 10, 0, 0},
+ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {28, 36, 32, 34, 26, 0, 29, 0, 0, 24},
+ {16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
+ {16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
+ { 3, 11, 7, 9, 1, 0, 0, 0, 0, 0},
+ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
+};
#endif
diff --git a/keyboards/jones/v1/v1.h b/keyboards/jones/v1/v1.h
deleted file mode 100644
index e37c34accc..0000000000
--- a/keyboards/jones/v1/v1.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* Copyright 2021 Takeshi Nishio
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-/*
-FULL 10x10 ROUND-ROBIN MATRIX for Reference
-
-{ KC_NO, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \
-{ k10, KC_NO, k12, k13, k14, k15, k16, k17, k18, k19 }, \
-{ k20, k21, KC_NO, k23, k24, k25, k26, k27, k28, k29 }, \
-{ k30, k31, k32, KC_NO, k34, k35, k36, k37, k38, k39 }, \
-{ k40, k41, k42, k43, KC_NO, k45, k46, k47, k48, k49 }, \
-{ k50, k51, k52, k53, k54, KC_NO, k56, k57, k58, k59 }, \
-{ k60, k61, k62, k63, k64, k65, KC_NO, k67, k68, k69 }, \
-{ k70, k71, k72, k73, k74, k75, k76, KC_NO, k78, k79 }, \
-{ k80, k81, k82, k83, k84, k85, k86, k87, KC_NO, k89 }, \
-{ k90, k91, k92, k93, k94, k95, k96, k97, k98, KC_NO } \
-
-*/
-
-/* Keys on 6th row are used with rotary encoder. */
-#define LAYOUT( \
- k09, k59, k08, k54, k04, k50, k56, k06, k05, k52, k02, k53, k07, k51, k01, \
- k19, k69, k18, k64, k14, k60, k10, k16, k15, k62, k12, k63, k17, k61, \
- k29, k79, k28, k74, k24, k70, k20, k26, k25, k72, k23, k73, k27, k71, \
- k39, k89, k38, k84, k34, k80, k30, k36, k35, k82, k32, k83, k37, k81, k31, \
- k49, k98, k48, k94, k90, k46, k45, k92, k42, k93, k47, k91, k41, \
- k85, k86, k95, k96 \
-) \
-{ \
- { KC_NO, k01, k02, KC_NO, k04, k05, k06, k07, k08, k09, }, \
- { k10, KC_NO, k12, KC_NO, k14, k15, k16, k17, k18, k19, }, \
- { k20, KC_NO, KC_NO, k23, k24, k25, k26, k27, k28, k29, }, \
- { k30, k31, k32, KC_NO, k34, k35, k36, k37, k38, k39, }, \
- { KC_NO, k41, k42, KC_NO, KC_NO, k45, k46, k47, k48, k49, }, \
- { k50, k51, k52, k53, k54, KC_NO, k56, KC_NO, KC_NO, k59, }, \
- { k60, k61, k62, k63, k64, KC_NO, KC_NO, KC_NO, KC_NO, k69, }, \
- { k70, k71, k72, k73, k74, KC_NO, KC_NO, KC_NO, KC_NO, k79, }, \
- { k80, k81, k82, k83, k84, k85, k86, KC_NO, KC_NO, k89, }, \
- { k90, k91, k92, k93, k94, k95, k96, KC_NO, k98, KC_NO } \
-}