From f111bea3cda240b7c54bff2e12b5043b7b0797f7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 25 Apr 2023 02:38:35 +1000 Subject: Move miscellaneous layouts to data driven (#20516) --- keyboards/converter/sun_usb/type5/info.json | 793 +++++++++++++++------------- keyboards/converter/sun_usb/type5/type5.h | 148 ------ 2 files changed, 434 insertions(+), 507 deletions(-) delete mode 100644 keyboards/converter/sun_usb/type5/type5.h (limited to 'keyboards/converter/sun_usb') diff --git a/keyboards/converter/sun_usb/type5/info.json b/keyboards/converter/sun_usb/type5/info.json index 23d80c4121..c26e85a65b 100644 --- a/keyboards/converter/sun_usb/type5/info.json +++ b/keyboards/converter/sun_usb/type5/info.json @@ -2,373 +2,448 @@ "layouts": { "LAYOUT_jp_unix": { "layout": [ - {"label":"HELP", "x":0, "y":0, "w":2}, - {"label":"NO", "x":2.25, "y":0}, - {"label":"F1", "x":4.25, "y":0}, - {"label":"F2", "x":5.25, "y":0}, - {"label":"F3", "x":6.25, "y":0}, - {"label":"F4", "x":7.25, "y":0}, - {"label":"F5", "x":8.75, "y":0}, - {"label":"F6", "x":9.75, "y":0}, - {"label":"F7", "x":10.75, "y":0}, - {"label":"F8", "x":11.75, "y":0}, - {"label":"F9", "x":13.25, "y":0}, - {"label":"F10", "x":14.25, "y":0}, - {"label":"F11", "x":15.25, "y":0}, - {"label":"F12", "x":16.25, "y":0}, - {"label":"PRINT SCREEN", "x":17.5, "y":0}, - {"label":"SCROLL LOCK", "x":18.5, "y":0}, - {"label":"PAUSE", "x":19.5, "y":0}, - {"label":"MUTE", "x":20.75, "y":0}, - {"label":"VOLD", "x":21.75, "y":0}, - {"label":"VOLU", "x":22.75, "y":0}, - {"label":"PWR", "x":23.75, "y":0}, - {"label":"STOP", "x":0, "y":2}, - {"label":"AGAIN", "x":1, "y":2}, - {"label":"ESC", "x":2.25, "y":2}, - {"label":"1", "x":3.25, "y":2}, - {"label":"2", "x":4.25, "y":2}, - {"label":"3", "x":5.25, "y":2}, - {"label":"4", "x":6.25, "y":2}, - {"label":"5", "x":7.25, "y":2}, - {"label":"6", "x":8.25, "y":2}, - {"label":"7", "x":9.25, "y":2}, - {"label":"8", "x":10.25, "y":2}, - {"label":"9", "x":11.25, "y":2}, - {"label":"0", "x":12.25, "y":2}, - {"label":"MINUS", "x":13.25, "y":2}, - {"label":"EQUAL", "x":14.25, "y":2}, - {"label":"BACKSLASH", "x":15.25, "y":2}, - {"label":"GRAVE", "x":16.25, "y":2}, - {"label":"INSERT", "x":17.5, "y":2}, - {"label":"HOME", "x":18.5, "y":2}, - {"label":"PAGE UP", "x":19.5, "y":2}, - {"label":"NUM LOCK", "x":20.75, "y":2}, - {"label":"PSLASH", "x":21.75, "y":2}, - {"label":"PASTERISK", "x":22.75, "y":2}, - {"label":"PMINUS", "x":23.75, "y":2}, - {"label":"MENU", "x":0, "y":3}, - {"label":"UNDO", "x":1, "y":3}, - {"label":"TAB", "x":2.25, "y":3, "w":1.5}, - {"label":"Q", "x":3.75, "y":3}, - {"label":"W", "x":4.75, "y":3}, - {"label":"E", "x":5.75, "y":3}, - {"label":"R", "x":6.75, "y":3}, - {"label":"T", "x":7.75, "y":3}, - {"label":"Y", "x":8.75, "y":3}, - {"label":"U", "x":9.75, "y":3}, - {"label":"I", "x":10.75, "y":3}, - {"label":"O", "x":11.75, "y":3}, - {"label":"P", "x":12.75, "y":3}, - {"label":"LBRACKET", "x":13.75, "y":3}, - {"label":"RBRACKET", "x":14.75, "y":3}, - {"label":"BACKSPACE", "x":15.75, "y":3, "w":1.5}, - {"label":"DELETE", "x":17.5, "y":3}, - {"label":"END", "x":18.5, "y":3}, - {"label":"PAGE DOWN", "x":19.5, "y":3}, - {"label":"P7", "x":20.75, "y":3}, - {"label":"P8", "x":21.75, "y":3}, - {"label":"P9", "x":22.75, "y":3}, - {"label":"PPLUS", "x":23.75, "y":3, "h":2}, - {"label":"SELECT", "x":0, "y":4}, - {"label":"COPY", "x":1, "y":4}, - {"label":"LCTRL", "x":2.25, "y":4, "w":1.75}, - {"label":"A", "x":4, "y":4}, - {"label":"S", "x":5, "y":4}, - {"label":"D", "x":6, "y":4}, - {"label":"F", "x":7, "y":4}, - {"label":"G", "x":8, "y":4}, - {"label":"H", "x":9, "y":4}, - {"label":"J", "x":10, "y":4}, - {"label":"K", "x":11, "y":4}, - {"label":"L", "x":12, "y":4}, - {"label":"SEMICOLON", "x":13, "y":4}, - {"label":"QUOTE", "x":14, "y":4}, - {"label":"ENTER", "x":15, "y":4, "w":2.25}, - {"label":"P4", "x":20.75, "y":4}, - {"label":"P5", "x":21.75, "y":4}, - {"label":"P6", "x":22.75, "y":4}, - {"label":"EXECUTE", "x":0, "y":5}, - {"label":"PASTE", "x":1, "y":5}, - {"label":"LSHIFT", "x":2.25, "y":5, "w":2.25}, - {"label":"Z", "x":4.5, "y":5}, - {"label":"X", "x":5.5, "y":5}, - {"label":"C", "x":6.5, "y":5}, - {"label":"V", "x":7.5, "y":5}, - {"label":"B", "x":8.5, "y":5}, - {"label":"N", "x":9.5, "y":5}, - {"label":"M", "x":10.5, "y":5}, - {"label":"COMMA", "x":11.5, "y":5}, - {"label":"PERIOD", "x":12.5, "y":5}, - {"label":"SLASH", "x":13.5, "y":5}, - {"label":"RSHIFT", "x":14.5, "y":5, "w":2.75}, - {"label":"UP", "x":18.5, "y":5}, - {"label":"P1", "x":20.75, "y":5}, - {"label":"P2", "x":21.75, "y":5}, - {"label":"P3", "x":22.75, "y":5}, - {"label":"PENTER", "x":23.75, "y":5, "h":2}, - {"label":"FIND", "x":0, "y":6}, - {"label":"CUT", "x":1, "y":6}, - {"label":"CAPS LOCK", "x":2.25, "y":6}, - {"label":"LALT", "x":3.25, "y":6}, - {"label":"LGUI", "x":4.25, "y":6}, - {"label":"HENKAN", "x":5.25, "y":6, "w":1.5}, - {"label":"SPACE", "x":6.75, "y":6, "w":5}, - {"label":"MUHENKAN", "x":11.75, "y":6, "w":1.5}, - {"label":"KANA", "x":13.25, "y":6}, - {"label":"RGUI", "x":14.25, "y":6}, - {"label":"APP", "x":15.25, "y":6}, - {"label":"RALT", "x":16.25, "y":6}, - {"label":"LEFT", "x":17.5, "y":6}, - {"label":"DOWN", "x":18.5, "y":6}, - {"label":"RIGHT", "x":19.5, "y":6}, - {"label":"P0", "x":20.75, "y":6, "w":2}, - {"label":"PDOT", "x":22.75, "y":6} + {"matrix": [14, 6], "x": 0, "y": 0, "w": 2}, + + {"matrix": [1, 7], "x": 2.25, "y": 0}, + + {"matrix": [0, 5], "x": 4.25, "y": 0}, + {"matrix": [0, 6], "x": 5.25, "y": 0}, + {"matrix": [1, 0], "x": 6.25, "y": 0}, + {"matrix": [1, 2], "x": 7.25, "y": 0}, + + {"matrix": [1, 4], "x": 8.75, "y": 0}, + {"matrix": [1, 6], "x": 9.75, "y": 0}, + {"matrix": [2, 0], "x": 10.75, "y": 0}, + {"matrix": [2, 1], "x": 11.75, "y": 0}, + + {"matrix": [2, 2], "x": 13.25, "y": 0}, + {"matrix": [0, 7], "x": 14.25, "y": 0}, + {"matrix": [1, 1], "x": 15.25, "y": 0}, + {"matrix": [1, 3], "x": 16.25, "y": 0}, + + {"matrix": [2, 6], "x": 17.5, "y": 0}, + {"matrix": [2, 7], "x": 18.5, "y": 0}, + {"matrix": [2, 5], "x": 19.5, "y": 0}, + + {"matrix": [5, 5], "x": 20.75, "y": 0}, + {"matrix": [0, 2], "x": 21.75, "y": 0}, + {"matrix": [0, 4], "x": 22.75, "y": 0}, + {"matrix": [6, 0], "x": 23.75, "y": 0}, + + {"matrix": [0, 1], "x": 0, "y": 2}, + {"matrix": [0, 3], "x": 1, "y": 2}, + + {"matrix": [3, 5], "x": 2.25, "y": 2}, + {"matrix": [3, 6], "x": 3.25, "y": 2}, + {"matrix": [3, 7], "x": 4.25, "y": 2}, + {"matrix": [4, 0], "x": 5.25, "y": 2}, + {"matrix": [4, 1], "x": 6.25, "y": 2}, + {"matrix": [4, 2], "x": 7.25, "y": 2}, + {"matrix": [4, 3], "x": 8.25, "y": 2}, + {"matrix": [4, 4], "x": 9.25, "y": 2}, + {"matrix": [4, 5], "x": 10.25, "y": 2}, + {"matrix": [4, 6], "x": 11.25, "y": 2}, + {"matrix": [4, 7], "x": 12.25, "y": 2}, + {"matrix": [5, 0], "x": 13.25, "y": 2}, + {"matrix": [5, 1], "x": 14.25, "y": 2}, + {"matrix": [11, 0], "x": 15.25, "y": 2}, + {"matrix": [5, 2], "x": 16.25, "y": 2}, + + {"matrix": [5, 4], "x": 17.5, "y": 2}, + {"matrix": [6, 4], "x": 18.5, "y": 2}, + {"matrix": [12, 0], "x": 19.5, "y": 2}, + + {"matrix": [12, 2], "x": 20.75, "y": 2}, + {"matrix": [5, 6], "x": 21.75, "y": 2}, + {"matrix": [5, 7], "x": 22.75, "y": 2}, + {"matrix": [8, 7], "x": 23.75, "y": 2}, + + {"matrix": [3, 1], "x": 0, "y": 3}, + {"matrix": [3, 2], "x": 1, "y": 3}, + + {"matrix": [6, 5], "x": 2.25, "y": 3, "w": 1.5}, + {"matrix": [6, 6], "x": 3.75, "y": 3}, + {"matrix": [6, 7], "x": 4.75, "y": 3}, + {"matrix": [7, 0], "x": 5.75, "y": 3}, + {"matrix": [7, 1], "x": 6.75, "y": 3}, + {"matrix": [7, 2], "x": 7.75, "y": 3}, + {"matrix": [7, 3], "x": 8.75, "y": 3}, + {"matrix": [7, 4], "x": 9.75, "y": 3}, + {"matrix": [7, 5], "x": 10.75, "y": 3}, + {"matrix": [7, 6], "x": 11.75, "y": 3}, + {"matrix": [7, 7], "x": 12.75, "y": 3}, + {"matrix": [8, 0], "x": 13.75, "y": 3}, + {"matrix": [8, 1], "x": 14.75, "y": 3}, + {"matrix": [5, 3], "x": 15.75, "y": 3, "w": 1.5}, + + {"matrix": [8, 2], "x": 17.5, "y": 3}, + {"matrix": [9, 2], "x": 18.5, "y": 3}, + {"matrix": [15, 3], "x": 19.5, "y": 3}, + + {"matrix": [8, 4], "x": 20.75, "y": 3}, + {"matrix": [8, 5], "x": 21.75, "y": 3}, + {"matrix": [8, 6], "x": 22.75, "y": 3}, + {"matrix": [15, 5], "x": 23.75, "y": 3, "h": 2}, + + {"matrix": [6, 1], "x": 0, "y": 4}, + {"matrix": [6, 3], "x": 1, "y": 4}, + + {"matrix": [9, 4], "x": 2.25, "y": 4, "w": 1.75}, + {"matrix": [9, 5], "x": 4, "y": 4}, + {"matrix": [9, 6], "x": 5, "y": 4}, + {"matrix": [9, 7], "x": 6, "y": 4}, + {"matrix": [10, 0], "x": 7, "y": 4}, + {"matrix": [10, 1], "x": 8, "y": 4}, + {"matrix": [10, 2], "x": 9, "y": 4}, + {"matrix": [10, 3], "x": 10, "y": 4}, + {"matrix": [10, 4], "x": 11, "y": 4}, + {"matrix": [10, 5], "x": 12, "y": 4}, + {"matrix": [10, 6], "x": 13, "y": 4}, + {"matrix": [10, 7], "x": 14, "y": 4}, + {"matrix": [11, 1], "x": 15, "y": 4, "w": 2.25}, + + {"matrix": [11, 3], "x": 20.75, "y": 4}, + {"matrix": [11, 4], "x": 21.75, "y": 4}, + {"matrix": [11, 5], "x": 22.75, "y": 4}, + + {"matrix": [9, 0], "x": 0, "y": 5}, + {"matrix": [9, 1], "x": 1, "y": 5}, + + {"matrix": [12, 3], "x": 2.25, "y": 5, "w": 2.25}, + {"matrix": [12, 4], "x": 4.5, "y": 5}, + {"matrix": [12, 5], "x": 5.5, "y": 5}, + {"matrix": [12, 6], "x": 6.5, "y": 5}, + {"matrix": [12, 7], "x": 7.5, "y": 5}, + {"matrix": [13, 0], "x": 8.5, "y": 5}, + {"matrix": [13, 1], "x": 9.5, "y": 5}, + {"matrix": [13, 2], "x": 10.5, "y": 5}, + {"matrix": [13, 3], "x": 11.5, "y": 5}, + {"matrix": [13, 4], "x": 12.5, "y": 5}, + {"matrix": [13, 5], "x": 13.5, "y": 5}, + {"matrix": [13, 6], "x": 14.5, "y": 5, "w": 2.75}, + + {"matrix": [2, 4], "x": 18.5, "y": 5}, + + {"matrix": [14, 0], "x": 20.75, "y": 5}, + {"matrix": [14, 1], "x": 21.75, "y": 5}, + {"matrix": [14, 2], "x": 22.75, "y": 5}, + {"matrix": [11, 2], "x": 23.75, "y": 5, "h": 2}, + + {"matrix": [11, 7], "x": 0, "y": 6}, + {"matrix": [12, 1], "x": 1, "y": 6}, + + {"matrix": [14, 7], "x": 2.25, "y": 6}, + {"matrix": [2, 3], "x": 3.25, "y": 6}, + {"matrix": [15, 0], "x": 4.25, "y": 6}, + {"matrix": [14, 3], "x": 5.25, "y": 6, "w": 1.5}, + {"matrix": [15, 1], "x": 6.75, "y": 6, "w": 5}, + {"matrix": [14, 4], "x": 11.75, "y": 6, "w": 1.5}, + {"matrix": [14, 5], "x": 13.25, "y": 6}, + {"matrix": [15, 2], "x": 14.25, "y": 6}, + {"matrix": [8, 3], "x": 15.25, "y": 6}, + {"matrix": [1, 5], "x": 16.25, "y": 6}, + + {"matrix": [3, 0], "x": 17.5, "y": 6}, + {"matrix": [3, 3], "x": 18.5, "y": 6}, + {"matrix": [3, 4], "x": 19.5, "y": 6}, + + {"matrix": [11, 6], "x": 20.75, "y": 6, "w": 2}, + {"matrix": [6, 2], "x": 22.75, "y": 6} ] }, "LAYOUT_us_unix": { "layout": [ - {"label":"HELP", "x":0, "y":0, "w":2}, - {"label":"NO", "x":2.25, "y":0}, - {"label":"F1", "x":4.25, "y":0}, - {"label":"F2", "x":5.25, "y":0}, - {"label":"F3", "x":6.25, "y":0}, - {"label":"F4", "x":7.25, "y":0}, - {"label":"F5", "x":8.75, "y":0}, - {"label":"F6", "x":9.75, "y":0}, - {"label":"F7", "x":10.75, "y":0}, - {"label":"F8", "x":11.75, "y":0}, - {"label":"F9", "x":13.25, "y":0}, - {"label":"F10", "x":14.25, "y":0}, - {"label":"F11", "x":15.25, "y":0}, - {"label":"F12", "x":16.25, "y":0}, - {"label":"PRINT SCREEN", "x":17.5, "y":0}, - {"label":"SCROLL LOCK", "x":18.5, "y":0}, - {"label":"PAUSE", "x":19.5, "y":0}, - {"label":"MUTE", "x":20.75, "y":0}, - {"label":"VOLD", "x":21.75, "y":0}, - {"label":"VOLU", "x":22.75, "y":0}, - {"label":"PWR", "x":23.75, "y":0}, - {"label":"STOP", "x":0, "y":2}, - {"label":"AGAIN", "x":1, "y":2}, - {"label":"ESC", "x":2.25, "y":2}, - {"label":"1", "x":3.25, "y":2}, - {"label":"2", "x":4.25, "y":2}, - {"label":"3", "x":5.25, "y":2}, - {"label":"4", "x":6.25, "y":2}, - {"label":"5", "x":7.25, "y":2}, - {"label":"6", "x":8.25, "y":2}, - {"label":"7", "x":9.25, "y":2}, - {"label":"8", "x":10.25, "y":2}, - {"label":"9", "x":11.25, "y":2}, - {"label":"0", "x":12.25, "y":2}, - {"label":"MINUS", "x":13.25, "y":2}, - {"label":"EQUAL", "x":14.25, "y":2}, - {"label":"BACKSLASH", "x":15.25, "y":2}, - {"label":"GRAVE", "x":16.25, "y":2}, - {"label":"INSERT", "x":17.5, "y":2}, - {"label":"HOME", "x":18.5, "y":2}, - {"label":"PAGE UP", "x":19.5, "y":2}, - {"label":"NUM LOCK", "x":20.75, "y":2}, - {"label":"PSLASH", "x":21.75, "y":2}, - {"label":"PASTERISK", "x":22.75, "y":2}, - {"label":"PMINUS", "x":23.75, "y":2}, - {"label":"MENU", "x":0, "y":3}, - {"label":"UNDO", "x":1, "y":3}, - {"label":"TAB", "x":2.25, "y":3, "w":1.5}, - {"label":"Q", "x":3.75, "y":3}, - {"label":"W", "x":4.75, "y":3}, - {"label":"E", "x":5.75, "y":3}, - {"label":"R", "x":6.75, "y":3}, - {"label":"T", "x":7.75, "y":3}, - {"label":"Y", "x":8.75, "y":3}, - {"label":"U", "x":9.75, "y":3}, - {"label":"I", "x":10.75, "y":3}, - {"label":"O", "x":11.75, "y":3}, - {"label":"P", "x":12.75, "y":3}, - {"label":"LBRACKET", "x":13.75, "y":3}, - {"label":"RBRACKET", "x":14.75, "y":3}, - {"label":"BACKSPACE", "x":15.75, "y":3, "w":1.5}, - {"label":"DELETE", "x":17.5, "y":3}, - {"label":"END", "x":18.5, "y":3}, - {"label":"PAGE DOWN", "x":19.5, "y":3}, - {"label":"P7", "x":20.75, "y":3}, - {"label":"P8", "x":21.75, "y":3}, - {"label":"P9", "x":22.75, "y":3}, - {"label":"PPLUS", "x":23.75, "y":3, "h":2}, - {"label":"SELECT", "x":0, "y":4}, - {"label":"COPY", "x":1, "y":4}, - {"label":"LCTRL", "x":2.25, "y":4, "w":1.75}, - {"label":"A", "x":4, "y":4}, - {"label":"S", "x":5, "y":4}, - {"label":"D", "x":6, "y":4}, - {"label":"F", "x":7, "y":4}, - {"label":"G", "x":8, "y":4}, - {"label":"H", "x":9, "y":4}, - {"label":"J", "x":10, "y":4}, - {"label":"K", "x":11, "y":4}, - {"label":"L", "x":12, "y":4}, - {"label":"SEMICOLON", "x":13, "y":4}, - {"label":"QUOTE", "x":14, "y":4}, - {"label":"ENTER", "x":15, "y":4, "w":2.25}, - {"label":"P4", "x":20.75, "y":4}, - {"label":"P5", "x":21.75, "y":4}, - {"label":"P6", "x":22.75, "y":4}, - {"label":"EXECUTE", "x":0, "y":5}, - {"label":"PASTE", "x":1, "y":5}, - {"label":"LSHIFT", "x":2.25, "y":5, "w":2.25}, - {"label":"Z", "x":4.5, "y":5}, - {"label":"X", "x":5.5, "y":5}, - {"label":"C", "x":6.5, "y":5}, - {"label":"V", "x":7.5, "y":5}, - {"label":"B", "x":8.5, "y":5}, - {"label":"N", "x":9.5, "y":5}, - {"label":"M", "x":10.5, "y":5}, - {"label":"COMMA", "x":11.5, "y":5}, - {"label":"PERIOD", "x":12.5, "y":5}, - {"label":"SLASH", "x":13.5, "y":5}, - {"label":"RSHIFT", "x":14.5, "y":5, "w":2.75}, - {"label":"UP", "x":18.5, "y":5}, - {"label":"P1", "x":20.75, "y":5}, - {"label":"P2", "x":21.75, "y":5}, - {"label":"P3", "x":22.75, "y":5}, - {"label":"PENTER", "x":23.75, "y":5, "h":2}, - {"label":"FIND", "x":0, "y":6}, - {"label":"CUT", "x":1, "y":6}, - {"label":"CAPS LOCK", "x":2.25, "y":6, "w":1.75}, - {"label":"LALT", "x":4, "y":6}, - {"label":"LGUI", "x":5, "y":6}, - {"label":"SPACE", "x":6, "y":6, "w":8.25}, - {"label":"RGUI", "x":14.25, "y":6}, - {"label":"APP", "x":15.25, "y":6}, - {"label":"RALT", "x":16.25, "y":6}, - {"label":"LEFT", "x":17.5, "y":6}, - {"label":"DOWN", "x":18.5, "y":6}, - {"label":"RIGHT", "x":19.5, "y":6}, - {"label":"P0", "x":20.75, "y":6, "w":2}, - {"label":"PDOT", "x":22.75, "y":6} + {"matrix": [14, 6], "x": 0, "y": 0, "w": 2}, + + {"matrix": [1, 7], "x": 2.25, "y": 0}, + + {"matrix": [0, 5], "x": 4.25, "y": 0}, + {"matrix": [0, 6], "x": 5.25, "y": 0}, + {"matrix": [1, 0], "x": 6.25, "y": 0}, + {"matrix": [1, 2], "x": 7.25, "y": 0}, + + {"matrix": [1, 4], "x": 8.75, "y": 0}, + {"matrix": [1, 6], "x": 9.75, "y": 0}, + {"matrix": [2, 0], "x": 10.75, "y": 0}, + {"matrix": [2, 1], "x": 11.75, "y": 0}, + + {"matrix": [2, 2], "x": 13.25, "y": 0}, + {"matrix": [0, 7], "x": 14.25, "y": 0}, + {"matrix": [1, 1], "x": 15.25, "y": 0}, + {"matrix": [1, 3], "x": 16.25, "y": 0}, + + {"matrix": [2, 6], "x": 17.5, "y": 0}, + {"matrix": [2, 7], "x": 18.5, "y": 0}, + {"matrix": [2, 5], "x": 19.5, "y": 0}, + + {"matrix": [5, 5], "x": 20.75, "y": 0}, + {"matrix": [0, 2], "x": 21.75, "y": 0}, + {"matrix": [0, 4], "x": 22.75, "y": 0}, + {"matrix": [6, 0], "x": 23.75, "y": 0}, + + {"matrix": [0, 1], "x": 0, "y": 2}, + {"matrix": [0, 3], "x": 1, "y": 2}, + + {"matrix": [3, 5], "x": 2.25, "y": 2}, + {"matrix": [3, 6], "x": 3.25, "y": 2}, + {"matrix": [3, 7], "x": 4.25, "y": 2}, + {"matrix": [4, 0], "x": 5.25, "y": 2}, + {"matrix": [4, 1], "x": 6.25, "y": 2}, + {"matrix": [4, 2], "x": 7.25, "y": 2}, + {"matrix": [4, 3], "x": 8.25, "y": 2}, + {"matrix": [4, 4], "x": 9.25, "y": 2}, + {"matrix": [4, 5], "x": 10.25, "y": 2}, + {"matrix": [4, 6], "x": 11.25, "y": 2}, + {"matrix": [4, 7], "x": 12.25, "y": 2}, + {"matrix": [5, 0], "x": 13.25, "y": 2}, + {"matrix": [5, 1], "x": 14.25, "y": 2}, + {"matrix": [11, 0], "x": 15.25, "y": 2}, + {"matrix": [5, 2], "x": 16.25, "y": 2}, + + {"matrix": [5, 4], "x": 17.5, "y": 2}, + {"matrix": [6, 4], "x": 18.5, "y": 2}, + {"matrix": [12, 0], "x": 19.5, "y": 2}, + + {"matrix": [12, 2], "x": 20.75, "y": 2}, + {"matrix": [5, 6], "x": 21.75, "y": 2}, + {"matrix": [5, 7], "x": 22.75, "y": 2}, + {"matrix": [8, 7], "x": 23.75, "y": 2}, + + {"matrix": [3, 1], "x": 0, "y": 3}, + {"matrix": [3, 2], "x": 1, "y": 3}, + + {"matrix": [6, 5], "x": 2.25, "y": 3, "w": 1.5}, + {"matrix": [6, 6], "x": 3.75, "y": 3}, + {"matrix": [6, 7], "x": 4.75, "y": 3}, + {"matrix": [7, 0], "x": 5.75, "y": 3}, + {"matrix": [7, 1], "x": 6.75, "y": 3}, + {"matrix": [7, 2], "x": 7.75, "y": 3}, + {"matrix": [7, 3], "x": 8.75, "y": 3}, + {"matrix": [7, 4], "x": 9.75, "y": 3}, + {"matrix": [7, 5], "x": 10.75, "y": 3}, + {"matrix": [7, 6], "x": 11.75, "y": 3}, + {"matrix": [7, 7], "x": 12.75, "y": 3}, + {"matrix": [8, 0], "x": 13.75, "y": 3}, + {"matrix": [8, 1], "x": 14.75, "y": 3}, + {"matrix": [5, 3], "x": 15.75, "y": 3, "w": 1.5}, + + {"matrix": [8, 2], "x": 17.5, "y": 3}, + {"matrix": [9, 2], "x": 18.5, "y": 3}, + {"matrix": [15, 3], "x": 19.5, "y": 3}, + + {"matrix": [8, 4], "x": 20.75, "y": 3}, + {"matrix": [8, 5], "x": 21.75, "y": 3}, + {"matrix": [8, 6], "x": 22.75, "y": 3}, + {"matrix": [15, 5], "x": 23.75, "y": 3, "h": 2}, + + {"matrix": [6, 1], "x": 0, "y": 4}, + {"matrix": [6, 3], "x": 1, "y": 4}, + + {"matrix": [9, 4], "x": 2.25, "y": 4, "w": 1.75}, + {"matrix": [9, 5], "x": 4, "y": 4}, + {"matrix": [9, 6], "x": 5, "y": 4}, + {"matrix": [9, 7], "x": 6, "y": 4}, + {"matrix": [10, 0], "x": 7, "y": 4}, + {"matrix": [10, 1], "x": 8, "y": 4}, + {"matrix": [10, 2], "x": 9, "y": 4}, + {"matrix": [10, 3], "x": 10, "y": 4}, + {"matrix": [10, 4], "x": 11, "y": 4}, + {"matrix": [10, 5], "x": 12, "y": 4}, + {"matrix": [10, 6], "x": 13, "y": 4}, + {"matrix": [10, 7], "x": 14, "y": 4}, + {"matrix": [11, 1], "x": 15, "y": 4, "w": 2.25}, + + {"matrix": [11, 3], "x": 20.75, "y": 4}, + {"matrix": [11, 4], "x": 21.75, "y": 4}, + {"matrix": [11, 5], "x": 22.75, "y": 4}, + + {"matrix": [9, 0], "x": 0, "y": 5}, + {"matrix": [9, 1], "x": 1, "y": 5}, + + {"matrix": [12, 3], "x": 2.25, "y": 5, "w": 2.25}, + {"matrix": [12, 4], "x": 4.5, "y": 5}, + {"matrix": [12, 5], "x": 5.5, "y": 5}, + {"matrix": [12, 6], "x": 6.5, "y": 5}, + {"matrix": [12, 7], "x": 7.5, "y": 5}, + {"matrix": [13, 0], "x": 8.5, "y": 5}, + {"matrix": [13, 1], "x": 9.5, "y": 5}, + {"matrix": [13, 2], "x": 10.5, "y": 5}, + {"matrix": [13, 3], "x": 11.5, "y": 5}, + {"matrix": [13, 4], "x": 12.5, "y": 5}, + {"matrix": [13, 5], "x": 13.5, "y": 5}, + {"matrix": [13, 6], "x": 14.5, "y": 5, "w": 2.75}, + + {"matrix": [2, 4], "x": 18.5, "y": 5}, + + {"matrix": [14, 0], "x": 20.75, "y": 5}, + {"matrix": [14, 1], "x": 21.75, "y": 5}, + {"matrix": [14, 2], "x": 22.75, "y": 5}, + {"matrix": [11, 2], "x": 23.75, "y": 5, "h": 2}, + + {"matrix": [11, 7], "x": 0, "y": 6}, + {"matrix": [12, 1], "x": 1, "y": 6}, + + {"matrix": [14, 7], "x": 2.25, "y": 6, "w": 1.75}, + {"matrix": [2, 3], "x": 4, "y": 6}, + {"matrix": [15, 0], "x": 5, "y": 6}, + {"matrix": [15, 1], "x": 6, "y": 6, "w": 8.25}, + {"matrix": [15, 2], "x": 14.25, "y": 6}, + {"matrix": [8, 3], "x": 15.25, "y": 6}, + {"matrix": [1, 5], "x": 16.25, "y": 6}, + + {"matrix": [3, 0], "x": 17.5, "y": 6}, + {"matrix": [3, 3], "x": 18.5, "y": 6}, + {"matrix": [3, 4], "x": 19.5, "y": 6}, + + {"matrix": [11, 6], "x": 20.75, "y": 6, "w": 2}, + {"matrix": [6, 2], "x": 22.75, "y": 6} ] }, "LAYOUT_ansi": { "layout": [ - {"label":"HELP", "x":0, "y":0, "w":2}, - {"label":"ESC", "x":2.25, "y":0}, - {"label":"F1", "x":4.25, "y":0}, - {"label":"F2", "x":5.25, "y":0}, - {"label":"F3", "x":6.25, "y":0}, - {"label":"F4", "x":7.25, "y":0}, - {"label":"F5", "x":8.75, "y":0}, - {"label":"F6", "x":9.75, "y":0}, - {"label":"F7", "x":10.75, "y":0}, - {"label":"F8", "x":11.75, "y":0}, - {"label":"F9", "x":13.25, "y":0}, - {"label":"F10", "x":14.25, "y":0}, - {"label":"F11", "x":15.25, "y":0}, - {"label":"F12", "x":16.25, "y":0}, - {"label":"PRINT SCREEN", "x":17.5, "y":0}, - {"label":"SCROLL LOCK", "x":18.5, "y":0}, - {"label":"PAUSE", "x":19.5, "y":0}, - {"label":"MUTE", "x":20.75, "y":0}, - {"label":"VOLD", "x":21.75, "y":0}, - {"label":"VOLU", "x":22.75, "y":0}, - {"label":"PWR", "x":23.75, "y":0}, - {"label":"STOP", "x":0, "y":2}, - {"label":"AGAIN", "x":1, "y":2}, - {"label":"GRAVE", "x":2.25, "y":2}, - {"label":"1", "x":3.25, "y":2}, - {"label":"2", "x":4.25, "y":2}, - {"label":"3", "x":5.25, "y":2}, - {"label":"4", "x":6.25, "y":2}, - {"label":"5", "x":7.25, "y":2}, - {"label":"6", "x":8.25, "y":2}, - {"label":"7", "x":9.25, "y":2}, - {"label":"8", "x":10.25, "y":2}, - {"label":"9", "x":11.25, "y":2}, - {"label":"0", "x":12.25, "y":2}, - {"label":"MINUS", "x":13.25, "y":2}, - {"label":"EQUAL", "x":14.25, "y":2}, - {"label":"BACKSPACE", "x":15.25, "y":2, "w":2}, - {"label":"INSERT", "x":17.5, "y":2}, - {"label":"HOME", "x":18.5, "y":2}, - {"label":"PAGE UP", "x":19.5, "y":2}, - {"label":"NUM LOCK", "x":20.75, "y":2}, - {"label":"PSLASH", "x":21.75, "y":2}, - {"label":"PASTERISK", "x":22.75, "y":2}, - {"label":"PMINUS", "x":23.75, "y":2}, - {"label":"MENU", "x":0, "y":3}, - {"label":"UNDO", "x":1, "y":3}, - {"label":"TAB", "x":2.25, "y":3, "w":1.5}, - {"label":"Q", "x":3.75, "y":3}, - {"label":"W", "x":4.75, "y":3}, - {"label":"E", "x":5.75, "y":3}, - {"label":"R", "x":6.75, "y":3}, - {"label":"T", "x":7.75, "y":3}, - {"label":"Y", "x":8.75, "y":3}, - {"label":"U", "x":9.75, "y":3}, - {"label":"I", "x":10.75, "y":3}, - {"label":"O", "x":11.75, "y":3}, - {"label":"P", "x":12.75, "y":3}, - {"label":"LBRACKET", "x":13.75, "y":3}, - {"label":"RBRACKET", "x":14.75, "y":3}, - {"label":"BACKSLASH", "x":15.75, "y":3, "w":1.5}, - {"label":"DELETE", "x":17.5, "y":3}, - {"label":"END", "x":18.5, "y":3}, - {"label":"PAGE DOWN", "x":19.5, "y":3}, - {"label":"P7", "x":20.75, "y":3}, - {"label":"P8", "x":21.75, "y":3}, - {"label":"P9", "x":22.75, "y":3}, - {"label":"PPLUS", "x":23.75, "y":3, "h":2}, - {"label":"SELECT", "x":0, "y":4}, - {"label":"COPY", "x":1, "y":4}, - {"label":"CAPS LOCK", "x":2.25, "y":4, "w":1.75}, - {"label":"A", "x":4, "y":4}, - {"label":"S", "x":5, "y":4}, - {"label":"D", "x":6, "y":4}, - {"label":"F", "x":7, "y":4}, - {"label":"G", "x":8, "y":4}, - {"label":"H", "x":9, "y":4}, - {"label":"J", "x":10, "y":4}, - {"label":"K", "x":11, "y":4}, - {"label":"L", "x":12, "y":4}, - {"label":"SEMICOLON", "x":13, "y":4}, - {"label":"QUOTE", "x":14, "y":4}, - {"label":"ENTER", "x":15, "y":4, "w":2.25}, - {"label":"P4", "x":20.75, "y":4}, - {"label":"P5", "x":21.75, "y":4}, - {"label":"P6", "x":22.75, "y":4}, - {"label":"EXECUTE", "x":0, "y":5}, - {"label":"PASTE", "x":1, "y":5}, - {"label":"LSHIFT", "x":2.25, "y":5, "w":2.25}, - {"label":"Z", "x":4.5, "y":5}, - {"label":"X", "x":5.5, "y":5}, - {"label":"C", "x":6.5, "y":5}, - {"label":"V", "x":7.5, "y":5}, - {"label":"B", "x":8.5, "y":5}, - {"label":"N", "x":9.5, "y":5}, - {"label":"M", "x":10.5, "y":5}, - {"label":"COMMA", "x":11.5, "y":5}, - {"label":"PERIOD", "x":12.5, "y":5}, - {"label":"SLASH", "x":13.5, "y":5}, - {"label":"RSHIFT", "x":14.5, "y":5, "w":2.75}, - {"label":"UP", "x":18.5, "y":5}, - {"label":"P1", "x":20.75, "y":5}, - {"label":"P2", "x":21.75, "y":5}, - {"label":"P3", "x":22.75, "y":5}, - {"label":"PENTER", "x":23.75, "y":5, "h":2}, - {"label":"FIND", "x":0, "y":6}, - {"label":"CUT", "x":1, "y":6}, - {"label":"LCTRL", "x":2.25, "y":6, "w":1.75}, - {"label":"LALT", "x":4, "y":6}, - {"label":"LGUI", "x":5, "y":6}, - {"label":"SPACE", "x":6, "y":6, "w":8.25}, - {"label":"RGUI", "x":14.25, "y":6}, - {"label":"APP", "x":15.25, "y":6}, - {"label":"RALT", "x":16.25, "y":6}, - {"label":"LEFT", "x":17.5, "y":6}, - {"label":"DOWN", "x":18.5, "y":6}, - {"label":"RIGHT", "x":19.5, "y":6}, - {"label":"P0", "x":20.75, "y":6, "w":2}, - {"label":"PDOT", "x":22.75, "y":6} + {"matrix": [14, 6], "x": 0, "y": 0, "w": 2}, + + {"matrix": [3, 5], "x": 2.25, "y": 0}, + + {"matrix": [0, 5], "x": 4.25, "y": 0}, + {"matrix": [0, 6], "x": 5.25, "y": 0}, + {"matrix": [1, 0], "x": 6.25, "y": 0}, + {"matrix": [1, 2], "x": 7.25, "y": 0}, + + {"matrix": [1, 4], "x": 8.75, "y": 0}, + {"matrix": [1, 6], "x": 9.75, "y": 0}, + {"matrix": [2, 0], "x": 10.75, "y": 0}, + {"matrix": [2, 1], "x": 11.75, "y": 0}, + + {"matrix": [2, 2], "x": 13.25, "y": 0}, + {"matrix": [0, 7], "x": 14.25, "y": 0}, + {"matrix": [1, 1], "x": 15.25, "y": 0}, + {"matrix": [1, 3], "x": 16.25, "y": 0}, + + {"matrix": [2, 6], "x": 17.5, "y": 0}, + {"matrix": [2, 7], "x": 18.5, "y": 0}, + {"matrix": [2, 5], "x": 19.5, "y": 0}, + + {"matrix": [5, 5], "x": 20.75, "y": 0}, + {"matrix": [0, 2], "x": 21.75, "y": 0}, + {"matrix": [0, 4], "x": 22.75, "y": 0}, + {"matrix": [6, 0], "x": 23.75, "y": 0}, + + {"matrix": [0, 1], "x": 0, "y": 2}, + {"matrix": [0, 3], "x": 1, "y": 2}, + + {"matrix": [5, 2], "x": 2.25, "y": 2}, + {"matrix": [3, 6], "x": 3.25, "y": 2}, + {"matrix": [3, 7], "x": 4.25, "y": 2}, + {"matrix": [4, 0], "x": 5.25, "y": 2}, + {"matrix": [4, 1], "x": 6.25, "y": 2}, + {"matrix": [4, 2], "x": 7.25, "y": 2}, + {"matrix": [4, 3], "x": 8.25, "y": 2}, + {"matrix": [4, 4], "x": 9.25, "y": 2}, + {"matrix": [4, 5], "x": 10.25, "y": 2}, + {"matrix": [4, 6], "x": 11.25, "y": 2}, + {"matrix": [4, 7], "x": 12.25, "y": 2}, + {"matrix": [5, 0], "x": 13.25, "y": 2}, + {"matrix": [5, 1], "x": 14.25, "y": 2}, + {"matrix": [5, 3], "x": 15.25, "y": 2, "w": 2}, + + {"matrix": [5, 4], "x": 17.5, "y": 2}, + {"matrix": [6, 4], "x": 18.5, "y": 2}, + {"matrix": [12, 0], "x": 19.5, "y": 2}, + + {"matrix": [12, 2], "x": 20.75, "y": 2}, + {"matrix": [5, 6], "x": 21.75, "y": 2}, + {"matrix": [5, 7], "x": 22.75, "y": 2}, + {"matrix": [8, 7], "x": 23.75, "y": 2}, + + {"matrix": [3, 1], "x": 0, "y": 3}, + {"matrix": [3, 2], "x": 1, "y": 3}, + + {"matrix": [6, 5], "x": 2.25, "y": 3, "w": 1.5}, + {"matrix": [6, 6], "x": 3.75, "y": 3}, + {"matrix": [6, 7], "x": 4.75, "y": 3}, + {"matrix": [7, 0], "x": 5.75, "y": 3}, + {"matrix": [7, 1], "x": 6.75, "y": 3}, + {"matrix": [7, 2], "x": 7.75, "y": 3}, + {"matrix": [7, 3], "x": 8.75, "y": 3}, + {"matrix": [7, 4], "x": 9.75, "y": 3}, + {"matrix": [7, 5], "x": 10.75, "y": 3}, + {"matrix": [7, 6], "x": 11.75, "y": 3}, + {"matrix": [7, 7], "x": 12.75, "y": 3}, + {"matrix": [8, 0], "x": 13.75, "y": 3}, + {"matrix": [8, 1], "x": 14.75, "y": 3}, + {"matrix": [11, 0], "x": 15.75, "y": 3, "w": 1.5}, + + {"matrix": [8, 2], "x": 17.5, "y": 3}, + {"matrix": [9, 2], "x": 18.5, "y": 3}, + {"matrix": [15, 3], "x": 19.5, "y": 3}, + + {"matrix": [8, 4], "x": 20.75, "y": 3}, + {"matrix": [8, 5], "x": 21.75, "y": 3}, + {"matrix": [8, 6], "x": 22.75, "y": 3}, + {"matrix": [15, 5], "x": 23.75, "y": 3, "h": 2}, + + {"matrix": [6, 1], "x": 0, "y": 4}, + {"matrix": [6, 3], "x": 1, "y": 4}, + + {"matrix": [14, 7], "x": 2.25, "y": 4, "w": 1.75}, + {"matrix": [9, 5], "x": 4, "y": 4}, + {"matrix": [9, 6], "x": 5, "y": 4}, + {"matrix": [9, 7], "x": 6, "y": 4}, + {"matrix": [10, 0], "x": 7, "y": 4}, + {"matrix": [10, 1], "x": 8, "y": 4}, + {"matrix": [10, 2], "x": 9, "y": 4}, + {"matrix": [10, 3], "x": 10, "y": 4}, + {"matrix": [10, 4], "x": 11, "y": 4}, + {"matrix": [10, 5], "x": 12, "y": 4}, + {"matrix": [10, 6], "x": 13, "y": 4}, + {"matrix": [10, 7], "x": 14, "y": 4}, + {"matrix": [11, 1], "x": 15, "y": 4, "w": 2.25}, + + {"matrix": [11, 3], "x": 20.75, "y": 4}, + {"matrix": [11, 4], "x": 21.75, "y": 4}, + {"matrix": [11, 5], "x": 22.75, "y": 4}, + + {"matrix": [9, 0], "x": 0, "y": 5}, + {"matrix": [9, 1], "x": 1, "y": 5}, + + {"matrix": [12, 3], "x": 2.25, "y": 5, "w": 2.25}, + {"matrix": [12, 4], "x": 4.5, "y": 5}, + {"matrix": [12, 5], "x": 5.5, "y": 5}, + {"matrix": [12, 6], "x": 6.5, "y": 5}, + {"matrix": [12, 7], "x": 7.5, "y": 5}, + {"matrix": [13, 0], "x": 8.5, "y": 5}, + {"matrix": [13, 1], "x": 9.5, "y": 5}, + {"matrix": [13, 2], "x": 10.5, "y": 5}, + {"matrix": [13, 3], "x": 11.5, "y": 5}, + {"matrix": [13, 4], "x": 12.5, "y": 5}, + {"matrix": [13, 5], "x": 13.5, "y": 5}, + {"matrix": [13, 6], "x": 14.5, "y": 5, "w": 2.75}, + + {"matrix": [2, 4], "x": 18.5, "y": 5}, + + {"matrix": [14, 0], "x": 20.75, "y": 5}, + {"matrix": [14, 1], "x": 21.75, "y": 5}, + {"matrix": [14, 2], "x": 22.75, "y": 5}, + {"matrix": [11, 2], "x": 23.75, "y": 5, "h": 2}, + + {"matrix": [11, 7], "x": 0, "y": 6}, + {"matrix": [12, 1], "x": 1, "y": 6}, + + {"matrix": [9, 4], "x": 2.25, "y": 6, "w": 1.75}, + {"matrix": [2, 3], "x": 4, "y": 6}, + {"matrix": [15, 0], "x": 5, "y": 6}, + {"matrix": [15, 1], "x": 6, "y": 6, "w": 8.25}, + {"matrix": [15, 2], "x": 14.25, "y": 6}, + {"matrix": [8, 3], "x": 15.25, "y": 6}, + {"matrix": [1, 5], "x": 16.25, "y": 6}, + + {"matrix": [3, 0], "x": 17.5, "y": 6}, + {"matrix": [3, 3], "x": 18.5, "y": 6}, + {"matrix": [3, 4], "x": 19.5, "y": 6}, + + {"matrix": [11, 6], "x": 20.75, "y": 6, "w": 2}, + {"matrix": [6, 2], "x": 22.75, "y": 6} ] } } diff --git a/keyboards/converter/sun_usb/type5/type5.h b/keyboards/converter/sun_usb/type5/type5.h deleted file mode 100644 index d4c9cc267c..0000000000 --- a/keyboards/converter/sun_usb/type5/type5.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - Copyright 2012 Jun Wako - - 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 . -*/ - -#pragma once - -#include "quantum.h" - -#define XXX KC_NO - -/* sun type 5 keyboard, JP Unix-style -,-------. ,---, ,---------------. ,---------------. ,---------------. ,-----------. ,---------------. -| 76 | | 0F| | 05| 06| 08| 0A| | 0C| 0E| 10| 11| | 12| 07| 09| 0B| | 16| 17| 15| | 2D| 02| 04| 30| -`-------' `---' `---------------' `---------------' `---------------' `-----------' `---------------' -,-------. ,-----------------------------------------------------------. ,-----------. ,---------------. -| 01| 03| | 1D| 1E| 1F| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29| 58| 2A| | 2C| 34| 60| | 62| 2E| 2F| 47| -|-------| |-----------------------------------------------------------| |------------ |---------------| -| 19| 1A| | 35 | 36| 37| 38| 39| 3A| 3B| 3C| 3D| 3E| 3F| 40| 41| 2B | | 42| 4A| 7B| | 44| 45| 46| | -|-------| |-----------------------------------------------------------| `-----------' |-----------| 7D| -| 31| 33| | 4C | 4D| 4E| 4F| 50| 51| 52| 53| 54| 55| 56| 57| 59 | | 5B| 5C| 5D| | -|-------| |-----------------------------------------------------------| ,---. |-----------|---| -| 48| 49| | 63 | 64| 65| 66| 67| 68| 69| 6A| 6B| 6C| 6D| 6E | | 14| | 70| 71| 72| | -|-------| |-----------------------------------------------------------| .-----------. |-----------| 5A| -| 5F| 61| | 77 | 13| 78 |*73 | 79 |*74 |*75| 7A | 43| 0D| | 18| 1B| 1C| | 5E | 32| | -`-------' `-----------------------------------------------------------' `-----------' `---------------' -*/ -#define LAYOUT_jp_unix( \ - K76, K0F, K05, K06, K08, K0A, K0C, K0E, K10, K11, K12, K07, K09, K0B, K16, K17, K15, K2D, K02, K04, K30, \ - K01, K03, K1D, K1E, K1F, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K58, K2A, K2C, K34, K60, K62, K2E, K2F, K47, \ - K19, K1A, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K40, K41, K2B, K42, K4A, K7B, K44, K45, K46, K7D, \ - K31, K33, K4C, K4D, K4E, K4F, K50, K51, K52, K53, K54, K55, K56, K57, K59, K5B, K5C, K5D, \ - K48, K49, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C, K6D, K6E, K14, K70, K71, K72, K5A, \ - K5F, K61, K77, K13, K78, K73, K79, K74, K75, K7A, K43, K0D, K18, K1B, K1C, K5E, K32 \ -) { \ - { XXX, 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, K35, K36, K37 }, \ - { K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \ - { K40, K41, K42, K43, K44, K45, K46, K47 }, \ - { K48, K49, K4A, XXX, K4C, K4D, K4E, K4F }, \ - { K50, K51, K52, K53, K54, K55, K56, K57 }, \ - { K58, K59, K5A, K5B, K5C, K5D, K5E, K5F }, \ - { K60, K61, K62, K63, K64, K65, K66, K67 }, \ - { K68, K69, K6A, K6B, K6C, K6D, K6E, XXX }, \ - { K70, K71, K72, K73, K74, K75, K76, K77 }, \ - { K78, K79, K7A, K7B, XXX, K7D, XXX, XXX } \ -} - -/* Sun type 5 keyboard, US Unix-style -,-------. ,---, ,---------------. ,---------------. ,---------------. ,-----------. ,---------------. -| 76 | | 0F| | 05| 06| 08| 0A| | 0C| 0E| 10| 11| | 12| 07| 09| 0B| | 16| 17| 15| | 2D| 02| 04| 30| -`-------' `---' `---------------' `---------------' `---------------' `-----------' `---------------' -,-------. ,-----------------------------------------------------------. ,-----------. ,---------------. -| 01| 03| | 1D| 1E| 1F| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29| 58| 2A| | 2C| 34| 60| | 62| 2E| 2F| 47| -|-------| |-----------------------------------------------------------| |------------ |---------------| -| 19| 1A| | 35 | 36| 37| 38| 39| 3A| 3B| 3C| 3D| 3E| 3F| 40| 41| 2B | | 42| 4A| 7B| | 44| 45| 46| | -|-------| |-----------------------------------------------------------| `-----------' |-----------| 7D| -| 31| 33| | 4C | 4D| 4E| 4F| 50| 51| 52| 53| 54| 55| 56| 57| 59 | | 5B| 5C| 5D| | -|-------| |-----------------------------------------------------------| ,---. |-----------|---| -| 48| 49| | 63 | 64| 65| 66| 67| 68| 69| 6A| 6B| 6C| 6D| 6E | | 14| | 70| 71| 72| | -|-------| |-----------------------------------------------------------| .-----------. |-----------| 5A| -| 5F| 61| | 77 | 13| 78 | 79 | 7A | 43| 0D| | 18| 1B| 1C| | 5E | 32| | -`-------' `-----------------------------------------------------------' `-----------' `---------------' -*/ -#define LAYOUT_us_unix( \ - K76, K0F, K05, K06, K08, K0A, K0C, K0E, K10, K11, K12, K07, K09, K0B, K16, K17, K15, K2D, K02, K04, K30, \ - K01, K03, K1D, K1E, K1F, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K58, K2A, K2C, K34, K60, K62, K2E, K2F, K47, \ - K19, K1A, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K40, K41, K2B, K42, K4A, K7B, K44, K45, K46, K7D, \ - K31, K33, K4C, K4D, K4E, K4F, K50, K51, K52, K53, K54, K55, K56, K57, K59, K5B, K5C, K5D, \ - K48, K49, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C, K6D, K6E, K14, K70, K71, K72, K5A, \ - K5F, K61, K77, K13, K78, K79, K7A, K43, K0D, K18, K1B, K1C, K5E, K32 \ -) { \ - { XXX, 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, K35, K36, K37 }, \ - { K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \ - { K40, K41, K42, K43, K44, K45, K46, K47 }, \ - { K48, K49, K4A, XXX, K4C, K4D, K4E, K4F }, \ - { K50, K51, K52, K53, K54, K55, K56, K57 }, \ - { K58, K59, K5A, K5B, K5C, K5D, K5E, K5F }, \ - { K60, K61, K62, K63, K64, K65, K66, K67 }, \ - { K68, K69, K6A, K6B, K6C, K6D, K6E, XXX }, \ - { K70, K71, K72, XXX, XXX, XXX, K76, K77 }, \ - { K78, K79, K7A, K7B, XXX, K7D, XXX, XXX } \ -} - -/* Sun type 5 keyboard, US ANSI-style - ,-------. ,---, ,---------------. ,---------------. ,---------------. ,-----------. ,---------------. - | 76 | | 1D| | 05| 06| 08| 0A| | 0C| 0E| 10| 11| | 12| 07| 09| 0B| | 16| 17| 15| | 2D| 02| 04| 30| - `-------' `---' `---------------' `---------------' `---------------' `-----------' `---------------' - ,-------. ,-----------------------------------------------------------. ,-----------. ,---------------. - | 01| 03| | 2A| 1E| 1F| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29| 2B | | 2C| 34| 60| | 62| 2E| 2F| 47| - |-------| |-----------------------------------------------------------| |------------ |---------------| - | 19| 1A| | 35 | 36| 37| 38| 39| 3A| 3B| 3C| 3D| 3E| 3F| 40| 41| 58 | | 42| 4A| 7B| | 44| 45| 46| | - |-------| |-----------------------------------------------------------| `-----------' |-----------| 7D| - | 31| 33| | 77 | 4D| 4E| 4F| 50| 51| 52| 53| 54| 55| 56| 57| 59 | | 5B| 5C| 5D| | - |-------| |-----------------------------------------------------------| ,---. |-----------|---| - | 48| 49| | 63 | 64| 65| 66| 67| 68| 69| 6A| 6B| 6C| 6D| 6E | | 14| | 70| 71| 72| | - |-------| |-----------------------------------------------------------| .-----------. |-----------| 5A| - | 5F| 61| | 4C | 13| 78 | 79 | 7A | 43| 0D| | 18| 1B| 1C| | 5E | 32| | - `-------' `-----------------------------------------------------------' `-----------' `---------------' -*/ -#define LAYOUT_ansi( \ - K76, K1D, K05, K06, K08, K0A, K0C, K0E, K10, K11, K12, K07, K09, K0B, K16, K17, K15, K2D, K02, K04, K30, \ - K01, K03, K2A, K1E, K1F, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, K2C, K34, K60, K62, K2E, K2F, K47, \ - K19, K1A, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K40, K41, K58, K42, K4A, K7B, K44, K45, K46, K7D, \ - K31, K33, K77, K4D, K4E, K4F, K50, K51, K52, K53, K54, K55, K56, K57, K59, K5B, K5C, K5D, \ - K48, K49, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C, K6D, K6E, K14, K70, K71, K72, K5A, \ - K5F, K61, K4C, K13, K78, K79, K7A, K43, K0D, K18, K1B, K1C, K5E, K32 \ -) { \ - { XXX, K01, K02, K03, K04, K05, K06, K07 }, \ - { K08, K09, K0A, K0B, K0C, K0D, K0E, XXX }, \ - { 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, K35, K36, K37 }, \ - { K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \ - { K40, K41, K42, K43, K44, K45, K46, K47 }, \ - { K48, K49, K4A, XXX, K4C, K4D, K4E, K4F }, \ - { K50, K51, K52, K53, K54, K55, K56, K57 }, \ - { K58, K59, K5A, K5B, K5C, K5D, K5E, K5F }, \ - { K60, K61, K62, K63, K64, K65, K66, K67 }, \ - { K68, K69, K6A, K6B, K6C, K6D, K6E, XXX }, \ - { K70, K71, K72, XXX, XXX, XXX, K76, K77 }, \ - { K78, K79, K7A, K7B, XXX, K7D, XXX, XXX } \ -} -- cgit v1.2.3