summaryrefslogtreecommitdiff
path: root/keyboards/converter/m0110_usb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/m0110_usb')
-rw-r--r--keyboards/converter/m0110_usb/info.json325
-rw-r--r--keyboards/converter/m0110_usb/m0110_usb.c3
-rw-r--r--keyboards/converter/m0110_usb/m0110_usb.h131
3 files changed, 172 insertions, 287 deletions
diff --git a/keyboards/converter/m0110_usb/info.json b/keyboards/converter/m0110_usb/info.json
index 86aae250df..1869d2dacb 100644
--- a/keyboards/converter/m0110_usb/info.json
+++ b/keyboards/converter/m0110_usb/info.json
@@ -13,163 +13,182 @@
"layouts": {
"LAYOUT_ansi": {
"layout": [
- {"label":"`", "x":0, "y":0},
- {"label":"1", "x":1, "y":0},
- {"label":"2", "x":2, "y":0},
- {"label":"3", "x":3, "y":0},
- {"label":"4", "x":4, "y":0},
- {"label":"5", "x":5, "y":0},
- {"label":"6", "x":6, "y":0},
- {"label":"7", "x":7, "y":0},
- {"label":"8", "x":8, "y":0},
- {"label":"9", "x":9, "y":0},
- {"label":"0", "x":10, "y":0},
- {"label":"-", "x":11, "y":0},
- {"label":"=", "x":12, "y":0},
- {"label":"Backspace", "x":13, "y":0, "w":1.5},
- {"label":"Num Lock", "x":15.25, "y":0},
- {"label":"=", "x":16.25, "y":0},
- {"label":"/", "x":17.25, "y":0},
- {"label":"*", "x":18.25, "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":"[", "x":11.5, "y":1},
- {"label":"]", "x":12.5, "y":1},
- {"label":"7", "x":15.25, "y":1},
- {"label":"8", "x":16.25, "y":1},
- {"label":"9", "x":17.25, "y":1},
- {"label":"-", "x":18.25, "y":1},
- {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
- {"label":"A", "x":1.75, "y":2},
- {"label":"S", "x":2.75, "y":2},
- {"label":"D", "x":3.75, "y":2},
- {"label":"F", "x":4.75, "y":2},
- {"label":"G", "x":5.75, "y":2},
- {"label":"H", "x":6.75, "y":2},
- {"label":"J", "x":7.75, "y":2},
- {"label":"K", "x":8.75, "y":2},
- {"label":"L", "x":9.75, "y":2},
- {"label":";", "x":10.75, "y":2},
- {"label":"'", "x":11.75, "y":2},
- {"label":"Enter", "x":12.75, "y":2, "w":1.75},
- {"label":"4", "x":15.25, "y":2},
- {"label":"5", "x":16.25, "y":2},
- {"label":"6", "x":17.25, "y":2},
- {"label":"+", "x":18.25, "y":2},
- {"label":"Shift", "x":0, "y":3, "w":2.25},
- {"label":"Z", "x":2.25, "y":3},
- {"label":"X", "x":3.25, "y":3},
- {"label":"C", "x":4.25, "y":3},
- {"label":"V", "x":5.25, "y":3},
- {"label":"B", "x":6.25, "y":3},
- {"label":"N", "x":7.25, "y":3},
- {"label":"M", "x":8.25, "y":3},
- {"label":",", "x":9.25, "y":3},
- {"label":".", "x":10.25, "y":3},
- {"label":"/", "x":11.25, "y":3},
- {"label":"Up", "x":13.5, "y":3},
- {"label":"1", "x":15.25, "y":3},
- {"label":"2", "x":16.25, "y":3},
- {"label":"3", "x":17.25, "y":3},
- {"label":"Enter", "x":18.25, "y":3, "h":2},
- {"label":"Alt", "x":0, "y":4, "w":1.5},
- {"label":"GUI", "x":1.5, "y":4, "w":2},
- {"label":"Space", "x":3.5, "y":4, "w":6},
- {"label":"MO(1)", "x":9.5, "y":4},
- {"label":"\\", "x":10.5, "y":4},
- {"label":"Left", "x":11.5, "y":4},
- {"label":"Right", "x":12.5, "y":4},
- {"label":"Down", "x":13.5, "y":4},
- {"label":"0", "x":15.25, "y":4, "w":2},
- {"label":".", "x":17.25, "y":4}
+ {"matrix": [6, 2], "x": 0, "y": 0},
+ {"matrix": [2, 2], "x": 1, "y": 0},
+ {"matrix": [2, 3], "x": 2, "y": 0},
+ {"matrix": [2, 4], "x": 3, "y": 0},
+ {"matrix": [2, 5], "x": 4, "y": 0},
+ {"matrix": [2, 7], "x": 5, "y": 0},
+ {"matrix": [2, 6], "x": 6, "y": 0},
+ {"matrix": [3, 2], "x": 7, "y": 0},
+ {"matrix": [3, 4], "x": 8, "y": 0},
+ {"matrix": [3, 1], "x": 9, "y": 0},
+ {"matrix": [3, 5], "x": 10, "y": 0},
+ {"matrix": [3, 3], "x": 11, "y": 0},
+ {"matrix": [3, 0], "x": 12, "y": 0},
+ {"matrix": [6, 3], "x": 13, "y": 0, "w": 1.5},
+
+ {"matrix": [8, 7], "x": 15.25, "y": 0},
+ {"matrix": [13, 0], "x": 16.25, "y": 0},
+ {"matrix": [13, 5], "x": 17.25, "y": 0},
+ {"matrix": [12, 2], "x": 18.25, "y": 0},
+
+ {"matrix": [6, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [1, 4], "x": 1.5, "y": 1},
+ {"matrix": [1, 5], "x": 2.5, "y": 1},
+ {"matrix": [1, 6], "x": 3.5, "y": 1},
+ {"matrix": [1, 7], "x": 4.5, "y": 1},
+ {"matrix": [2, 1], "x": 5.5, "y": 1},
+ {"matrix": [2, 0], "x": 6.5, "y": 1},
+ {"matrix": [4, 0], "x": 7.5, "y": 1},
+ {"matrix": [4, 2], "x": 8.5, "y": 1},
+ {"matrix": [3, 7], "x": 9.5, "y": 1},
+ {"matrix": [4, 3], "x": 10.5, "y": 1},
+ {"matrix": [4, 1], "x": 11.5, "y": 1},
+ {"matrix": [3, 6], "x": 12.5, "y": 1},
+
+ {"matrix": [11, 1], "x": 15.25, "y": 1},
+ {"matrix": [11, 3], "x": 16.25, "y": 1},
+ {"matrix": [11, 4], "x": 17.25, "y": 1},
+ {"matrix": [9, 6], "x": 18.25, "y": 1},
+
+ {"matrix": [7, 1], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [0, 0], "x": 1.75, "y": 2},
+ {"matrix": [0, 1], "x": 2.75, "y": 2},
+ {"matrix": [0, 2], "x": 3.75, "y": 2},
+ {"matrix": [0, 3], "x": 4.75, "y": 2},
+ {"matrix": [0, 5], "x": 5.75, "y": 2},
+ {"matrix": [0, 4], "x": 6.75, "y": 2},
+ {"matrix": [4, 6], "x": 7.75, "y": 2},
+ {"matrix": [5, 0], "x": 8.75, "y": 2},
+ {"matrix": [4, 5], "x": 9.75, "y": 2},
+ {"matrix": [5, 1], "x": 10.75, "y": 2},
+ {"matrix": [4, 7], "x": 11.75, "y": 2},
+ {"matrix": [4, 4], "x": 12.75, "y": 2, "w": 1.75},
+
+ {"matrix": [10, 6], "x": 15.25, "y": 2},
+ {"matrix": [10, 7], "x": 16.25, "y": 2},
+ {"matrix": [11, 0], "x": 17.25, "y": 2},
+ {"matrix": [12, 6], "x": 18.25, "y": 2},
+
+ {"matrix": [7, 0], "x": 0, "y": 3, "w": 2.25},
+ {"matrix": [0, 6], "x": 2.25, "y": 3},
+ {"matrix": [0, 7], "x": 3.25, "y": 3},
+ {"matrix": [1, 0], "x": 4.25, "y": 3},
+ {"matrix": [1, 1], "x": 5.25, "y": 3},
+ {"matrix": [1, 3], "x": 6.25, "y": 3},
+ {"matrix": [5, 5], "x": 7.25, "y": 3},
+ {"matrix": [5, 6], "x": 8.25, "y": 3},
+ {"matrix": [5, 3], "x": 9.25, "y": 3},
+ {"matrix": [5, 7], "x": 10.25, "y": 3},
+ {"matrix": [5, 4], "x": 11.25, "y": 3},
+
+ {"matrix": [9, 5], "x": 13.5, "y": 3},
+
+ {"matrix": [10, 3], "x": 15.25, "y": 3},
+ {"matrix": [10, 4], "x": 16.25, "y": 3},
+ {"matrix": [10, 5], "x": 17.25, "y": 3},
+ {"matrix": [9, 4], "x": 18.25, "y": 3, "h": 2},
+
+ {"matrix": [7, 2], "x": 0, "y": 4, "w": 1.5},
+ {"matrix": [6, 7], "x": 1.5, "y": 4, "w": 2},
+ {"matrix": [6, 1], "x": 3.5, "y": 4, "w": 6},
+ {"matrix": [6, 4], "x": 9.5, "y": 4},
+ {"matrix": [5, 2], "x": 10.5, "y": 4},
+ {"matrix": [8, 6], "x": 11.5, "y": 4},
+ {"matrix": [8, 2], "x": 12.5, "y": 4},
+ {"matrix": [9, 0], "x": 13.5, "y": 4},
+
+ {"matrix": [10, 2], "x": 15.25, "y": 4, "w": 2},
+ {"matrix": [8, 1], "x": 17.25, "y": 4}
]
},
"LAYOUT_iso": {
"layout": [
- {"label":"`", "x":0, "y":0},
- {"label":"1", "x":1, "y":0},
- {"label":"2", "x":2, "y":0},
- {"label":"3", "x":3, "y":0},
- {"label":"4", "x":4, "y":0},
- {"label":"5", "x":5, "y":0},
- {"label":"6", "x":6, "y":0},
- {"label":"7", "x":7, "y":0},
- {"label":"8", "x":8, "y":0},
- {"label":"9", "x":9, "y":0},
- {"label":"0", "x":10, "y":0},
- {"label":"-", "x":11, "y":0},
- {"label":"=", "x":12, "y":0},
- {"label":"Backspace", "x":13, "y":0, "w":1.5},
- {"label":"Num Lock", "x":15.25, "y":0},
- {"label":"=", "x":16.25, "y":0},
- {"label":"/", "x":17.25, "y":0},
- {"label":"*", "x":18.25, "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":"[", "x":11.5, "y":1},
- {"label":"]", "x":12.5, "y":1},
- {"label":"Return", "x":13.75, "y":1, "w":0.75, "h":2},
- {"label":"7", "x":15.25, "y":1},
- {"label":"8", "x":16.25, "y":1},
- {"label":"9", "x":17.25, "y":1},
- {"label":"-", "x":18.25, "y":1},
- {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
- {"label":"A", "x":1.75, "y":2},
- {"label":"S", "x":2.75, "y":2},
- {"label":"D", "x":3.75, "y":2},
- {"label":"F", "x":4.75, "y":2},
- {"label":"G", "x":5.75, "y":2},
- {"label":"H", "x":6.75, "y":2},
- {"label":"J", "x":7.75, "y":2},
- {"label":"K", "x":8.75, "y":2},
- {"label":"L", "x":9.75, "y":2},
- {"label":";", "x":10.75, "y":2},
- {"label":"'", "x":11.75, "y":2},
- {"label":"#", "x":12.75, "y":2},
- {"label":"4", "x":15.25, "y":2},
- {"label":"5", "x":16.25, "y":2},
- {"label":"6", "x":17.25, "y":2},
- {"label":"+", "x":18.25, "y":2},
- {"label":"Shift", "x":0, "y":3, "w":1.25},
- {"label":"\\", "x":1.25, "y":3},
- {"label":"Z", "x":2.25, "y":3},
- {"label":"X", "x":3.25, "y":3},
- {"label":"C", "x":4.25, "y":3},
- {"label":"V", "x":5.25, "y":3},
- {"label":"B", "x":6.25, "y":3},
- {"label":"N", "x":7.25, "y":3},
- {"label":"M", "x":8.25, "y":3},
- {"label":",", "x":9.25, "y":3},
- {"label":".", "x":10.25, "y":3},
- {"label":"/", "x":11.25, "y":3},
- {"label":"1", "x":15.25, "y":3},
- {"label":"2", "x":16.25, "y":3},
- {"label":"3", "x":17.25, "y":3},
- {"label":"Enter", "x":18.25, "y":3, "h":2},
- {"label":"Option", "x":1, "y":4},
- {"label":"GUI", "x":2, "y":4, "w":1.5},
- {"label":"Space", "x":3.5, "y":4, "w":7.5},
- {"label":"Enter", "x":11, "y":4, "w":1.5},
- {"label":"0", "x":15.25, "y":4, "w":2},
- {"label":".", "x":17.25, "y":4}
+ {"matrix": [6, 2], "x": 0, "y": 0},
+ {"matrix": [2, 2], "x": 1, "y": 0},
+ {"matrix": [2, 3], "x": 2, "y": 0},
+ {"matrix": [2, 4], "x": 3, "y": 0},
+ {"matrix": [2, 5], "x": 4, "y": 0},
+ {"matrix": [2, 7], "x": 5, "y": 0},
+ {"matrix": [2, 6], "x": 6, "y": 0},
+ {"matrix": [3, 2], "x": 7, "y": 0},
+ {"matrix": [3, 4], "x": 8, "y": 0},
+ {"matrix": [3, 1], "x": 9, "y": 0},
+ {"matrix": [3, 5], "x": 10, "y": 0},
+ {"matrix": [3, 3], "x": 11, "y": 0},
+ {"matrix": [3, 0], "x": 12, "y": 0},
+ {"matrix": [6, 3], "x": 13, "y": 0, "w": 1.5},
+
+ {"matrix": [8, 7], "x": 15.25, "y": 0},
+ {"matrix": [13, 0], "x": 16.25, "y": 0},
+ {"matrix": [13, 5], "x": 17.25, "y": 0},
+ {"matrix": [12, 2], "x": 18.25, "y": 0},
+
+ {"matrix": [6, 0], "x": 0, "y": 1, "w": 1.5},
+ {"matrix": [1, 4], "x": 1.5, "y": 1},
+ {"matrix": [1, 5], "x": 2.5, "y": 1},
+ {"matrix": [1, 6], "x": 3.5, "y": 1},
+ {"matrix": [1, 7], "x": 4.5, "y": 1},
+ {"matrix": [2, 1], "x": 5.5, "y": 1},
+ {"matrix": [2, 0], "x": 6.5, "y": 1},
+ {"matrix": [4, 0], "x": 7.5, "y": 1},
+ {"matrix": [4, 2], "x": 8.5, "y": 1},
+ {"matrix": [3, 7], "x": 9.5, "y": 1},
+ {"matrix": [4, 3], "x": 10.5, "y": 1},
+ {"matrix": [4, 1], "x": 11.5, "y": 1},
+ {"matrix": [3, 6], "x": 12.5, "y": 1},
+ {"matrix": [5, 2], "x": 13.75, "y": 1, "w": 0.75, "h": 2},
+
+ {"matrix": [11, 1], "x": 15.25, "y": 1},
+ {"matrix": [11, 3], "x": 16.25, "y": 1},
+ {"matrix": [11, 4], "x": 17.25, "y": 1},
+ {"matrix": [9, 6], "x": 18.25, "y": 1},
+
+ {"matrix": [7, 1], "x": 0, "y": 2, "w": 1.75},
+ {"matrix": [0, 0], "x": 1.75, "y": 2},
+ {"matrix": [0, 1], "x": 2.75, "y": 2},
+ {"matrix": [0, 2], "x": 3.75, "y": 2},
+ {"matrix": [0, 3], "x": 4.75, "y": 2},
+ {"matrix": [0, 5], "x": 5.75, "y": 2},
+ {"matrix": [0, 4], "x": 6.75, "y": 2},
+ {"matrix": [4, 6], "x": 7.75, "y": 2},
+ {"matrix": [5, 0], "x": 8.75, "y": 2},
+ {"matrix": [4, 5], "x": 9.75, "y": 2},
+ {"matrix": [5, 1], "x": 10.75, "y": 2},
+ {"matrix": [4, 7], "x": 11.75, "y": 2},
+ {"matrix": [4, 4], "x": 12.75, "y": 2},
+
+ {"matrix": [10, 6], "x": 15.25, "y": 2},
+ {"matrix": [10, 7], "x": 16.25, "y": 2},
+ {"matrix": [11, 0], "x": 17.25, "y": 2},
+ {"matrix": [12, 6], "x": 18.25, "y": 2},
+
+ {"matrix": [7, 0], "x": 0, "y": 3, "w": 1.25},
+ {"matrix": [0, 6], "x": 1.25, "y": 3},
+ {"matrix": [0, 7], "x": 2.25, "y": 3},
+ {"matrix": [1, 0], "x": 3.25, "y": 3},
+ {"matrix": [1, 1], "x": 4.25, "y": 3},
+ {"matrix": [1, 3], "x": 5.25, "y": 3},
+ {"matrix": [5, 5], "x": 6.25, "y": 3},
+ {"matrix": [5, 6], "x": 7.25, "y": 3},
+ {"matrix": [5, 3], "x": 8.25, "y": 3},
+ {"matrix": [5, 7], "x": 9.25, "y": 3},
+ {"matrix": [5, 4], "x": 10.25, "y": 3},
+ {"matrix": [1, 2], "x": 11.25, "y": 3},
+
+ {"matrix": [10, 3], "x": 15.25, "y": 3},
+ {"matrix": [10, 4], "x": 16.25, "y": 3},
+ {"matrix": [10, 5], "x": 17.25, "y": 3},
+ {"matrix": [9, 4], "x": 18.25, "y": 3, "h": 2},
+
+ {"matrix": [7, 2], "x": 1, "y": 4},
+ {"matrix": [6, 7], "x": 2, "y": 4, "w": 1.5},
+ {"matrix": [6, 4], "x": 3.5, "y": 4, "w": 7.5},
+ {"matrix": [6, 1], "x": 11, "y": 4, "w": 1.5},
+
+ {"matrix": [10, 2], "x": 15.25, "y": 4, "w": 2},
+ {"matrix": [8, 1], "x": 17.25, "y": 4}
]
}
}
diff --git a/keyboards/converter/m0110_usb/m0110_usb.c b/keyboards/converter/m0110_usb/m0110_usb.c
deleted file mode 100644
index a2f98cced6..0000000000
--- a/keyboards/converter/m0110_usb/m0110_usb.c
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "m0110_usb.h"
-#include <avr/io.h>
-#include "quantum.h"
diff --git a/keyboards/converter/m0110_usb/m0110_usb.h b/keyboards/converter/m0110_usb/m0110_usb.h
deleted file mode 100644
index 944296afdc..0000000000
--- a/keyboards/converter/m0110_usb/m0110_usb.h
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
-Copyright 2011,2012,2014,2015 Jun Wako <wakojun@gmail.com>
-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/>.
-
---------------
-
-Ported to QMK by Techsock <info@techsock.com>
-*/
-
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-/* Common layout for M0110 and M0110A
- * This keymap works with both keyboards. As you can see, the M0110A is
- * a superset of M0110 keyboard, only one exception is 'Enter'(34) of M0110
- * does not exist on the M0110A.
- *
- * ,---------------------------------------------------------. ,---------------.
- * | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backs| |Clr| =| /| *|
- * |---------------------------------------------------------| |---------------|
- * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | | 7| 8| 9| -|
- * |-----------------------------------------------------' | |---------------|
- * |Caps | A| S| D| F| G| H| J| K| L| ;| '|Return| | 4| 5| 6| +|
- * |---------------------------------------------------------| |---------------|
- * |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shft|Up | | 1| 2| 3| |
- * |---------------------------------------------------------| |-----------|Ent|
- * |Opt |Mac | Space |Ent| \|Lft|Rgt|Dn | | 0| .| |
- * `---------------------------------------------------------' `---------------'
- *
- * M0110A scan codes
- * ,---------------------------------------------------------. ,---------------.
- * | 32| 12| 13| 14| 15| 17| 16| 1A| 1C| 19| 1D| 1B| 18| 33| | 47| 68| 6D| 62|
- * |---------------------------------------------------------| |---------------|
- * | 30| 0C| 0D| 0E| 0F| 11| 10| 20| 22| 1F| 23| 21| 1E| | | 59| 5B| 5C| 4E|
- * |-----------------------------------------------------' | |---------------|
- * | 39| 00| 01| 02| 03| 05| 04| 26| 28| 25| 29| 27| 24| | 56| 57| 58| 66|
- * |---------------------------------------------------------| |---------------|
- * | 38| 06| 07| 08| 09| 0B| 2D| 2E| 2B| 2F| 2C| 38| 4D| | 53| 54| 55| |
- * `---------------------------------------------------------' |-----------| 4C|
- * | 3A| 37| 31 | 2A| 46| 42| 48| | 52| 41| |
- * `---------------------------------------------------------' `---------------'
- *
- * M0110 + M0120 scan codes
- * ,---------------------------------------------------------. ,---------------.
- * | 32| 12| 13| 14| 15| 17| 16| 1A| 1C| 19| 1D| 1B| 18| 33| | 47| 68| 6D| 62|
- * |---------------------------------------------------------| |---------------|
- * | 30| 0C| 0D| 0E| 0F| 11| 10| 20| 22| 1F| 23| 21| 1E| 2A| | 59| 5B| 5C| 4E|
- * |---------------------------------------------------------| |---------------|
- * | 39| 00| 01| 02| 03| 05| 04| 26| 28| 25| 29| 27| 24| | 56| 57| 58| 66|
- * |---------------------------------------------------------| |---------------|
- * | 38| 06| 07| 08| 09| 0B| 2D| 2E| 2B| 2F| 2C| 38| | 53| 54| 55| |
- * `---------------------------------------------------------' |-----------| 4C|
- * | 3A| 37| 31 | 34| 3A| | 52| 41| |
- * `------------------------------------------------' `---------------'
- * Two right and left keys of 38 and 3A are identical, you cannot discriminate those two.
- */
-#define LAYOUT_ansi( \
- K32, K12, K13, K14, K15, K17, K16, K1A, K1C, K19, K1D, K1B, K18, K33, K47, K68, K6D, K62, \
- K30, K0C, K0D, K0E, K0F, K11, K10, K20, K22, K1F, K23, K21, K1E, K59, K5B, K5C, K4E, \
- K39, K00, K01, K02, K03, K05, K04, K26, K28, K25, K29, K27, K24, K56, K57, K58, K66, \
- K38, K06, K07, K08, K09, K0B, K2D, K2E, K2B, K2F, K2C, K4D, K53, K54, K55, K4C, \
- K3A, K37, K31, K34, K2A, K46, K42, K48, K52, K41 \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07 }, \
- { K08, K09, XXX, K0B, K0C, K0D, K0E, K0F }, \
- { K10, K11, K12, K13, K14, K15, K16, K17 }, \
- { K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
- { K20, K21, K22, K23, K24, K25, K26, K27 }, \
- { K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
- { K30, K31, K32, K33, K34, XXX, XXX, K37 }, \
- { K38, K39, K3A, XXX, XXX, XXX, XXX, XXX }, \
- { XXX, K41, K42, XXX, XXX, XXX, K46, K47 }, \
- { K48, XXX, XXX, XXX, K4C, K4D, K4E, XXX }, \
- { XXX, XXX, K52, K53, K54, K55, K56, K57 }, \
- { K58, K59, XXX, K5B, K5C, XXX, XXX, XXX }, \
- { XXX, XXX, K62, XXX, XXX, XXX, K66, XXX }, \
- { K68, XXX, XXX, XXX, XXX, K6D, XXX, XXX } \
-}
-
-/* International keyboard layout for M0110 + M0120
- * https://en.wikipedia.org/wiki/File:Apple_Macintosh_Plus_Keyboard.jpg
- * Probably International keyboard layout of M0110A doesn't exist.
- *
- * M0110 + M0120 scan codes
- * ,---------------------------------------------------------. ,---------------.
- * | 32| 12| 13| 14| 15| 17| 16| 1A| 1C| 19| 1D| 1B| 18| 33| | 47| 68| 6D| 62|
- * |---------------------------------------------------------| |---------------|
- * | 30| 0C| 0D| 0E| 0F| 11| 10| 20| 22| 1F| 23| 21| 1E| 2A| | 59| 5B| 5C| 4E|
- * |------------------------------------------------------, | |---------------|
- * | 39| 00| 01| 02| 03| 05| 04| 26| 28| 25| 29| 27| 24| | | 56| 57| 58| 66|
- * |---------------------------------------------------------| |---------------|
- * | 38| 06| 07| 08| 09| 0B| 2D| 2E| 2B| 2F| 2C| 0A| 38| | 53| 54| 55| |
- * `---------------------------------------------------------' |-----------| 4C|
- * | 3A| 37| 34 | 31| 3A| | 52| 41| |
- * `------------------------------------------------' `---------------'
- * Two right and left keys of 38 and 3A are identical, you cannot discriminate those two.
- */
-#define LAYOUT_iso( \
- K32, K12, K13, K14, K15, K17, K16, K1A, K1C, K19, K1D, K1B, K18, K33, K47, K68, K6D, K62, \
- K30, K0C, K0D, K0E, K0F, K11, K10, K20, K22, K1F, K23, K21, K1E, K2A, K59, K5B, K5C, K4E, \
- K39, K00, K01, K02, K03, K05, K04, K26, K28, K25, K29, K27, K24, K56, K57, K58, K66, \
- K38, K06, K07, K08, K09, K0B, K2D, K2E, K2B, K2F, K2C, K0A, K53, K54, K55, K4C, \
- K3A, K37, K34, K31, K52, K41 \
-) { \
- { K00, K01, K02, K03, K04, K05, K06, K07 }, \
- { K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
- { K10, K11, K12, K13, K14, K15, K16, K17 }, \
- { K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
- { K20, K21, K22, K23, K24, K25, K26, K27 }, \
- { K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
- { K30, K31, K32, K33, K34, XXX, XXX, K37 }, \
- { K38, K39, K3A, XXX, XXX, XXX, XXX, XXX }, \
- { XXX, K41, XXX, XXX, XXX, XXX, XXX, K47 }, \
- { XXX, XXX, XXX, XXX, K4C, XXX, K4E, XXX }, \
- { XXX, XXX, K52, K53, K54, K55, K56, K57 }, \
- { K58, K59, XXX, K5B, K5C, XXX, XXX, XXX }, \
- { XXX, XXX, K62, XXX, XXX, XXX, K66, XXX }, \
- { K68, XXX, XXX, XXX, XXX, K6D, XXX, XXX } \
-}