From 000ee31e2c64ad374b93be5a98f5529c48446188 Mon Sep 17 00:00:00 2001 From: "Silc Lizard (Tokage) Renew" Date: Sat, 1 Jul 2023 13:00:13 +0900 Subject: [PATCH] [Keyboard] Add Varanidae (#21340) --- keyboards/varanidae/info.json | 515 ++++++++++++++++++ keyboards/varanidae/keymaps/ansi/keymap.c | 35 ++ keyboards/varanidae/keymaps/ansi/rules.mk | 1 + .../keymaps/ansi_split_bs_rshift/keymap.c | 35 ++ .../keymaps/ansi_split_bs_rshift/rules.mk | 1 + keyboards/varanidae/keymaps/default/keymap.c | 35 ++ keyboards/varanidae/keymaps/default/rules.mk | 1 + keyboards/varanidae/keymaps/iso/keymap.c | 35 ++ keyboards/varanidae/keymaps/iso/rules.mk | 1 + .../keymaps/iso_split_bs_rshift/keymap.c | 35 ++ .../keymaps/iso_split_bs_rshift/rules.mk | 1 + keyboards/varanidae/keymaps/via/keymap.c | 35 ++ keyboards/varanidae/keymaps/via/rules.mk | 2 + keyboards/varanidae/readme.md | 24 + keyboards/varanidae/rules.mk | 1 + 15 files changed, 757 insertions(+) create mode 100644 keyboards/varanidae/info.json create mode 100644 keyboards/varanidae/keymaps/ansi/keymap.c create mode 100644 keyboards/varanidae/keymaps/ansi/rules.mk create mode 100644 keyboards/varanidae/keymaps/ansi_split_bs_rshift/keymap.c create mode 100644 keyboards/varanidae/keymaps/ansi_split_bs_rshift/rules.mk create mode 100644 keyboards/varanidae/keymaps/default/keymap.c create mode 100644 keyboards/varanidae/keymaps/default/rules.mk create mode 100644 keyboards/varanidae/keymaps/iso/keymap.c create mode 100644 keyboards/varanidae/keymaps/iso/rules.mk create mode 100644 keyboards/varanidae/keymaps/iso_split_bs_rshift/keymap.c create mode 100644 keyboards/varanidae/keymaps/iso_split_bs_rshift/rules.mk create mode 100644 keyboards/varanidae/keymaps/via/keymap.c create mode 100644 keyboards/varanidae/keymaps/via/rules.mk create mode 100644 keyboards/varanidae/readme.md create mode 100644 keyboards/varanidae/rules.mk diff --git a/keyboards/varanidae/info.json b/keyboards/varanidae/info.json new file mode 100644 index 0000000000..f35e061dcf --- /dev/null +++ b/keyboards/varanidae/info.json @@ -0,0 +1,515 @@ +{ + "keyboard_name": "Varanidae", + "manufacturer": "Tokage IT Lab.", + "url": "https://github.com/TokageItLab/Varanidae", + "maintainer": "Silc Renew", + "usb": { + "vid": "0x5369", + "pid": "0x0001", + "device_version": "1.0.0" + }, + "pin_compatible": "elite_c", + "development_board": "elite_c", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true + }, + "encoder": { + "enabled": true, + "rotary": [ + { "pin_a": "D0", "pin_b": "D1", "resolution": 2 } + ] + }, + "dynamic_keymap": { + "layer_count": 3 + }, + "diode_direction": "COL2ROW", + "matrix_pins": { + "cols": ["D2", "F4", "D4", "D7", "B4", "B7", "C7", "F0", "B2", "B1", "F6"], + "rows": ["B0", "F5", "C6", "E6", "B5", "D5", "F1", "B6", "B3", "F7", "D3"] + }, + "layout_aliases": { + "LAYOUT_all": "LAYOUT_iso_split_bs_rshift" + }, + "layouts": { + "LAYOUT_ansi": { + "layout": [ + { "label":"Middle Click", "matrix": [0, 0], "x": 0, "y": 0, "w": 1 }, + + { "label":"F16", "matrix": [0, 1], "x": 1, "y": 0, "w": 1 }, + { "label":"F17", "matrix": [0, 2], "x": 2, "y": 0, "w": 1 }, + { "label":"F18", "matrix": [0, 3], "x": 3, "y": 0, "w": 1 }, + { "label":"F19", "matrix": [0, 4], "x": 4, "y": 0, "w": 1 }, + { "label":"F1", "matrix": [0, 5], "x": 5.25, "y": 0, "w": 1 }, + { "label":"F2", "matrix": [0, 6], "x": 6.25, "y": 0, "w": 1 }, + { "label":"F3", "matrix": [0, 7], "x": 7.25, "y": 0, "w": 1 }, + { "label":"F4", "matrix": [0, 8], "x": 8.25, "y": 0, "w": 1 }, + { "label":"F5", "matrix": [0, 9], "x": 9.25, "y": 0, "w": 1 }, + { "label":"F6", "matrix": [0, 10], "x": 10.25, "y": 0, "w": 1 }, + { "label":"F7", "matrix": [5, 6], "x": 11.25, "y": 0, "w": 1 }, + { "label":"F8", "matrix": [5, 7], "x": 12.25, "y": 0, "w": 1 }, + { "label":"F9", "matrix": [5, 8], "x": 13.25, "y": 0, "w": 1 }, + { "label":"F10", "matrix": [5, 9], "x": 14.25, "y": 0, "w": 1 }, + { "label":"F11", "matrix": [5, 10], "x": 15.25, "y": 0, "w": 1 }, + { "label":"F12", "matrix": [7, 1], "x": 16.25, "y": 0, "w": 1 }, + { "label":"F13", "matrix": [7, 2], "x": 17.25, "y": 0, "w": 1 }, + { "label":"F14", "matrix": [7, 3], "x": 18.25, "y": 0, "w": 1 }, + { "label":"F15", "matrix": [7, 4], "x": 19.25, "y": 0, "w": 1 }, + + { "label":"F20", "matrix": [1, 1], "x": 0, "y": 1, "w": 1 }, + { "label":"F21", "matrix": [1, 2], "x": 1, "y": 1, "w": 1 }, + { "label":"F22", "matrix": [1, 3], "x": 2, "y": 1, "w": 1 }, + { "label":"F23", "matrix": [1, 4], "x": 3, "y": 1, "w": 1 }, + { "label":"F24", "matrix": [1, 5], "x": 4, "y": 1, "w": 1 }, + { "label":"Esc", "matrix": [1, 6], "x": 5.25, "y": 1.25, "w": 1 }, + { "label":"1", "matrix": [1, 7], "x": 6.25, "y": 1.25, "w": 1 }, + { "label":"2", "matrix": [1, 8], "x": 7.25, "y": 1.25, "w": 1 }, + { "label":"3", "matrix": [1, 9], "x": 8.25, "y": 1.25, "w": 1 }, + { "label":"4", "matrix": [1, 10], "x": 9.25, "y": 1.25, "w": 1 }, + { "label":"5", "matrix": [6, 6], "x": 10.25, "y": 1.25, "w": 1 }, + { "label":"6", "matrix": [6, 7], "x": 11.25, "y": 1.25, "w": 1 }, + { "label":"7", "matrix": [6, 8], "x": 12.25, "y": 1.25, "w": 1 }, + { "label":"8", "matrix": [6, 9], "x": 13.25, "y": 1.25, "w": 1 }, + { "label":"9", "matrix": [6, 10], "x": 14.25, "y": 1.25, "w": 1 }, + { "label":"0", "matrix": [8, 1], "x": 15.25, "y": 1.25, "w": 1 }, + { "label":"-", "matrix": [8, 2], "x": 16.25, "y": 1.25, "w": 1 }, + { "label":"=", "matrix": [8, 3], "x": 17.25, "y": 1.25, "w": 1 }, + { "label":"Backspace", "matrix": [7, 5], "x": 18.25, "y": 1.25, "w": 2 }, + + { "label":"/", "matrix": [2, 1], "x": 0, "y": 2.25, "w": 1 }, + { "label":"7", "matrix": [2, 2], "x": 1, "y": 2.25, "w": 1 }, + { "label":"8", "matrix": [2, 3], "x": 2, "y": 2.25, "w": 1 }, + { "label":"9", "matrix": [2, 4], "x": 3, "y": 2.25, "w": 1 }, + { "label":"Home", "matrix": [2, 5], "x": 4, "y": 2.25, "w": 1 }, + { "label":"Tab", "matrix": [2, 6], "x": 5.25, "y": 2.25, "w": 1.5 }, + { "label":"Q", "matrix": [2, 7], "x": 6.75, "y": 2.25, "w": 1 }, + { "label":"W", "matrix": [2, 8], "x": 7.75, "y": 2.25, "w": 1 }, + { "label":"E", "matrix": [2, 9], "x": 8.75, "y": 2.25, "w": 1 }, + { "label":"R", "matrix": [2, 10], "x": 9.75, "y": 2.25, "w": 1 }, + { "label":"T", "matrix": [7, 6], "x": 10.75, "y": 2.25, "w": 1 }, + { "label":"Y", "matrix": [7, 7], "x": 11.75, "y": 2.25, "w": 1 }, + { "label":"U", "matrix": [7, 8], "x": 12.75, "y": 2.25, "w": 1 }, + { "label":"I", "matrix": [7, 9], "x": 13.75, "y": 2.25, "w": 1 }, + { "label":"O", "matrix": [7, 10], "x": 14.75, "y": 2.25, "w": 1 }, + { "label":"P", "matrix": [9, 1], "x": 15.75, "y": 2.25, "w": 1 }, + { "label":"[", "matrix": [9, 2], "x": 16.75, "y": 2.25, "w": 1 }, + { "label":"]", "matrix": [9, 3], "x": 17.75, "y": 2.25, "w": 1 }, + { "label":"\\", "matrix": [10, 3], "x": 18.75, "y": 2.25, "w": 1.5 }, + + { "label":"*", "matrix": [3, 1], "x": 0, "y": 3.25, "w": 1 }, + { "label":"4", "matrix": [3, 2], "x": 1, "y": 3.25, "w": 1 }, + { "label":"5", "matrix": [3, 3], "x": 2, "y": 3.25, "w": 1 }, + { "label":"6", "matrix": [3, 4], "x": 3, "y": 3.25, "w": 1 }, + { "label":"End", "matrix": [3, 5], "x": 4, "y": 3.25, "w": 1 }, + { "label":"Alt", "matrix": [3, 6], "x": 5.25, "y": 3.25, "w": 1.75 }, + { "label":"A", "matrix": [3, 7], "x": 7, "y": 3.25, "w": 1 }, + { "label":"S", "matrix": [3, 8], "x": 8, "y": 3.25, "w": 1 }, + { "label":"D", "matrix": [3, 9], "x": 9, "y": 3.25, "w": 1 }, + { "label":"F", "matrix": [3, 10], "x": 10, "y": 3.25, "w": 1 }, + { "label":"G", "matrix": [8, 6], "x": 11, "y": 3.25, "w": 1 }, + { "label":"H", "matrix": [8, 7], "x": 12, "y": 3.25, "w": 1 }, + { "label":"J", "matrix": [8, 8], "x": 13, "y": 3.25, "w": 1 }, + { "label":"K", "matrix": [8, 9], "x": 14, "y": 3.25, "w": 1 }, + { "label":"L", "matrix": [8, 10], "x": 15, "y": 3.25, "w": 1 }, + { "label":";", "matrix": [10, 1], "x": 16, "y": 3.25, "w": 1 }, + { "label":"'", "matrix": [10, 2], "x": 17, "y": 3.25, "w": 1 }, + { "label":"Enter", "matrix": [9, 4], "x": 18, "y": 3.25, "w": 2.25}, + + { "label":"-", "matrix": [4, 1], "x": 0, "y": 4.25, "w": 1 }, + { "label":"1", "matrix": [4, 2], "x": 1, "y": 4.25, "w": 1 }, + { "label":"2", "matrix": [4, 3], "x": 2, "y": 4.25, "w": 1 }, + { "label":"3", "matrix": [4, 4], "x": 3, "y": 4.25, "w": 1 }, + { "label":"Page Up", "matrix": [4, 5], "x": 4, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [4, 6], "x": 5.25, "y": 4.25, "w": 2.25}, + { "label":"Z", "matrix": [4, 8], "x": 7.5, "y": 4.25, "w": 1 }, + { "label":"X", "matrix": [4, 9], "x": 8.5, "y": 4.25, "w": 1 }, + { "label":"C", "matrix": [4, 10], "x": 9.5, "y": 4.25, "w": 1 }, + { "label":"V", "matrix": [9, 6], "x": 10.5, "y": 4.25, "w": 1 }, + { "label":"B", "matrix": [9, 7], "x": 11.5, "y": 4.25, "w": 1 }, + { "label":"N", "matrix": [9, 8], "x": 12.5, "y": 4.25, "w": 1 }, + { "label":"M", "matrix": [9, 9], "x": 13.5, "y": 4.25, "w": 1 }, + { "label":",", "matrix": [9, 10], "x": 14.5, "y": 4.25, "w": 1 }, + { "label":".", "matrix": [10, 4], "x": 15.5, "y": 4.25, "w": 1 }, + { "label":"/", "matrix": [10, 5], "x": 16.5, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [8, 5], "x": 17.5, "y": 4.25, "w": 2.75 }, + + { "label":"+", "matrix": [5, 1], "x": 0, "y": 5.25, "w": 1 }, + { "label":"0", "matrix": [5, 2], "x": 1, "y": 5.25, "w": 1 }, + { "label":".", "matrix": [5, 3], "x": 2, "y": 5.25, "w": 1 }, + { "label":"Enter", "matrix": [5, 4], "x": 3, "y": 5.25, "w": 1 }, + { "label":"Page Down", "matrix": [5, 5], "x": 4, "y": 5.25, "w": 1 }, + { "label":"Win", "matrix": [6, 1], "x": 5.25, "y": 5.25, "w": 1 }, + { "label":"Ctrl", "matrix": [6, 2], "x": 6.25, "y": 5.25, "w": 1 }, + { "label":"Print", "matrix": [6, 3], "x": 7.25, "y": 5.25, "w": 1 }, + { "label":"Muhenkan", "matrix": [6, 4], "x": 8.25, "y": 5.25, "w": 1 }, + { "label":"Space", "matrix": [6, 5], "x": 9.25, "y": 5.25, "w": 6 }, + { "label":"Henkan", "matrix": [10, 6], "x": 15.25, "y": 5.25, "w": 1 }, + { "label":"Left", "matrix": [10, 7], "x": 16.25, "y": 5.25, "w": 1 }, + { "label":"Up", "matrix": [10, 8], "x": 17.25, "y": 5.25, "w": 1 }, + { "label":"Down", "matrix": [10, 9], "x": 18.25, "y": 5.25, "w": 1 }, + { "label":"Right", "matrix": [10, 10], "x": 19.25, "y": 5.25, "w": 1 } + ] + }, + "LAYOUT_ansi_split_bs_rshift": { + "layout": [ + { "label":"Middle Click", "matrix": [0, 0], "x": 0, "y": 0, "w": 1 }, + + { "label":"F16", "matrix": [0, 1], "x": 1, "y": 0, "w": 1 }, + { "label":"F17", "matrix": [0, 2], "x": 2, "y": 0, "w": 1 }, + { "label":"F18", "matrix": [0, 3], "x": 3, "y": 0, "w": 1 }, + { "label":"F19", "matrix": [0, 4], "x": 4, "y": 0, "w": 1 }, + { "label":"F1", "matrix": [0, 5], "x": 5.25, "y": 0, "w": 1 }, + { "label":"F2", "matrix": [0, 6], "x": 6.25, "y": 0, "w": 1 }, + { "label":"F3", "matrix": [0, 7], "x": 7.25, "y": 0, "w": 1 }, + { "label":"F4", "matrix": [0, 8], "x": 8.25, "y": 0, "w": 1 }, + { "label":"F5", "matrix": [0, 9], "x": 9.25, "y": 0, "w": 1 }, + { "label":"F6", "matrix": [0, 10], "x": 10.25, "y": 0, "w": 1 }, + { "label":"F7", "matrix": [5, 6], "x": 11.25, "y": 0, "w": 1 }, + { "label":"F8", "matrix": [5, 7], "x": 12.25, "y": 0, "w": 1 }, + { "label":"F9", "matrix": [5, 8], "x": 13.25, "y": 0, "w": 1 }, + { "label":"F10", "matrix": [5, 9], "x": 14.25, "y": 0, "w": 1 }, + { "label":"F11", "matrix": [5, 10], "x": 15.25, "y": 0, "w": 1 }, + { "label":"F12", "matrix": [7, 1], "x": 16.25, "y": 0, "w": 1 }, + { "label":"F13", "matrix": [7, 2], "x": 17.25, "y": 0, "w": 1 }, + { "label":"F14", "matrix": [7, 3], "x": 18.25, "y": 0, "w": 1 }, + { "label":"F15", "matrix": [7, 4], "x": 19.25, "y": 0, "w": 1 }, + + { "label":"F20", "matrix": [1, 1], "x": 0, "y": 1, "w": 1 }, + { "label":"F21", "matrix": [1, 2], "x": 1, "y": 1, "w": 1 }, + { "label":"F22", "matrix": [1, 3], "x": 2, "y": 1, "w": 1 }, + { "label":"F23", "matrix": [1, 4], "x": 3, "y": 1, "w": 1 }, + { "label":"F24", "matrix": [1, 5], "x": 4, "y": 1, "w": 1 }, + { "label":"Esc", "matrix": [1, 6], "x": 5.25, "y": 1.25, "w": 1 }, + { "label":"1", "matrix": [1, 7], "x": 6.25, "y": 1.25, "w": 1 }, + { "label":"2", "matrix": [1, 8], "x": 7.25, "y": 1.25, "w": 1 }, + { "label":"3", "matrix": [1, 9], "x": 8.25, "y": 1.25, "w": 1 }, + { "label":"4", "matrix": [1, 10], "x": 9.25, "y": 1.25, "w": 1 }, + { "label":"5", "matrix": [6, 6], "x": 10.25, "y": 1.25, "w": 1 }, + { "label":"6", "matrix": [6, 7], "x": 11.25, "y": 1.25, "w": 1 }, + { "label":"7", "matrix": [6, 8], "x": 12.25, "y": 1.25, "w": 1 }, + { "label":"8", "matrix": [6, 9], "x": 13.25, "y": 1.25, "w": 1 }, + { "label":"9", "matrix": [6, 10], "x": 14.25, "y": 1.25, "w": 1 }, + { "label":"0", "matrix": [8, 1], "x": 15.25, "y": 1.25, "w": 1 }, + { "label":"-", "matrix": [8, 2], "x": 16.25, "y": 1.25, "w": 1 }, + { "label":"=", "matrix": [8, 3], "x": 17.25, "y": 1.25, "w": 1 }, + { "label":"Delete", "matrix": [8, 4], "x": 18.25, "y": 1.25, "w": 1 }, + { "label":"Backspace", "matrix": [7, 5], "x": 19.25, "y": 1.25, "w": 1 }, + + { "label":"/", "matrix": [2, 1], "x": 0, "y": 2.25, "w": 1 }, + { "label":"7", "matrix": [2, 2], "x": 1, "y": 2.25, "w": 1 }, + { "label":"8", "matrix": [2, 3], "x": 2, "y": 2.25, "w": 1 }, + { "label":"9", "matrix": [2, 4], "x": 3, "y": 2.25, "w": 1 }, + { "label":"Home", "matrix": [2, 5], "x": 4, "y": 2.25, "w": 1 }, + { "label":"Tab", "matrix": [2, 6], "x": 5.25, "y": 2.25, "w": 1.5 }, + { "label":"Q", "matrix": [2, 7], "x": 6.75, "y": 2.25, "w": 1 }, + { "label":"W", "matrix": [2, 8], "x": 7.75, "y": 2.25, "w": 1 }, + { "label":"E", "matrix": [2, 9], "x": 8.75, "y": 2.25, "w": 1 }, + { "label":"R", "matrix": [2, 10], "x": 9.75, "y": 2.25, "w": 1 }, + { "label":"T", "matrix": [7, 6], "x": 10.75, "y": 2.25, "w": 1 }, + { "label":"Y", "matrix": [7, 7], "x": 11.75, "y": 2.25, "w": 1 }, + { "label":"U", "matrix": [7, 8], "x": 12.75, "y": 2.25, "w": 1 }, + { "label":"I", "matrix": [7, 9], "x": 13.75, "y": 2.25, "w": 1 }, + { "label":"O", "matrix": [7, 10], "x": 14.75, "y": 2.25, "w": 1 }, + { "label":"P", "matrix": [9, 1], "x": 15.75, "y": 2.25, "w": 1 }, + { "label":"[", "matrix": [9, 2], "x": 16.75, "y": 2.25, "w": 1 }, + { "label":"]", "matrix": [9, 3], "x": 17.75, "y": 2.25, "w": 1 }, + { "label":"\\", "matrix": [10, 3], "x": 18.75, "y": 2.25, "w": 1.5 }, + + { "label":"*", "matrix": [3, 1], "x": 0, "y": 3.25, "w": 1 }, + { "label":"4", "matrix": [3, 2], "x": 1, "y": 3.25, "w": 1 }, + { "label":"5", "matrix": [3, 3], "x": 2, "y": 3.25, "w": 1 }, + { "label":"6", "matrix": [3, 4], "x": 3, "y": 3.25, "w": 1 }, + { "label":"End", "matrix": [3, 5], "x": 4, "y": 3.25, "w": 1 }, + { "label":"Alt", "matrix": [3, 6], "x": 5.25, "y": 3.25, "w": 1.75 }, + { "label":"A", "matrix": [3, 7], "x": 7, "y": 3.25, "w": 1 }, + { "label":"S", "matrix": [3, 8], "x": 8, "y": 3.25, "w": 1 }, + { "label":"D", "matrix": [3, 9], "x": 9, "y": 3.25, "w": 1 }, + { "label":"F", "matrix": [3, 10], "x": 10, "y": 3.25, "w": 1 }, + { "label":"G", "matrix": [8, 6], "x": 11, "y": 3.25, "w": 1 }, + { "label":"H", "matrix": [8, 7], "x": 12, "y": 3.25, "w": 1 }, + { "label":"J", "matrix": [8, 8], "x": 13, "y": 3.25, "w": 1 }, + { "label":"K", "matrix": [8, 9], "x": 14, "y": 3.25, "w": 1 }, + { "label":"L", "matrix": [8, 10], "x": 15, "y": 3.25, "w": 1 }, + { "label":";", "matrix": [10, 1], "x": 16, "y": 3.25, "w": 1 }, + { "label":"'", "matrix": [10, 2], "x": 17, "y": 3.25, "w": 1 }, + { "label":"Enter", "matrix": [9, 4], "x": 18, "y": 3.25, "w": 2.25}, + + { "label":"-", "matrix": [4, 1], "x": 0, "y": 4.25, "w": 1 }, + { "label":"1", "matrix": [4, 2], "x": 1, "y": 4.25, "w": 1 }, + { "label":"2", "matrix": [4, 3], "x": 2, "y": 4.25, "w": 1 }, + { "label":"3", "matrix": [4, 4], "x": 3, "y": 4.25, "w": 1 }, + { "label":"Page Up", "matrix": [4, 5], "x": 4, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [4, 6], "x": 5.25, "y": 4.25, "w": 2.25}, + { "label":"Z", "matrix": [4, 8], "x": 7.5, "y": 4.25, "w": 1 }, + { "label":"X", "matrix": [4, 9], "x": 8.5, "y": 4.25, "w": 1 }, + { "label":"C", "matrix": [4, 10], "x": 9.5, "y": 4.25, "w": 1 }, + { "label":"V", "matrix": [9, 6], "x": 10.5, "y": 4.25, "w": 1 }, + { "label":"B", "matrix": [9, 7], "x": 11.5, "y": 4.25, "w": 1 }, + { "label":"N", "matrix": [9, 8], "x": 12.5, "y": 4.25, "w": 1 }, + { "label":"M", "matrix": [9, 9], "x": 13.5, "y": 4.25, "w": 1 }, + { "label":",", "matrix": [9, 10], "x": 14.5, "y": 4.25, "w": 1 }, + { "label":".", "matrix": [10, 4], "x": 15.5, "y": 4.25, "w": 1 }, + { "label":"/", "matrix": [10, 5], "x": 16.5, "y": 4.25, "w": 1 }, + { "label":"`", "matrix": [9, 5], "x": 17.5, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [8, 5], "x": 18.5, "y": 4.25, "w": 1.75 }, + + { "label":"+", "matrix": [5, 1], "x": 0, "y": 5.25, "w": 1 }, + { "label":"0", "matrix": [5, 2], "x": 1, "y": 5.25, "w": 1 }, + { "label":".", "matrix": [5, 3], "x": 2, "y": 5.25, "w": 1 }, + { "label":"Enter", "matrix": [5, 4], "x": 3, "y": 5.25, "w": 1 }, + { "label":"Page Down", "matrix": [5, 5], "x": 4, "y": 5.25, "w": 1 }, + { "label":"Win", "matrix": [6, 1], "x": 5.25, "y": 5.25, "w": 1 }, + { "label":"Ctrl", "matrix": [6, 2], "x": 6.25, "y": 5.25, "w": 1 }, + { "label":"Print", "matrix": [6, 3], "x": 7.25, "y": 5.25, "w": 1 }, + { "label":"Muhenkan", "matrix": [6, 4], "x": 8.25, "y": 5.25, "w": 1 }, + { "label":"Space", "matrix": [6, 5], "x": 9.25, "y": 5.25, "w": 6 }, + { "label":"Henkan", "matrix": [10, 6], "x": 15.25, "y": 5.25, "w": 1 }, + { "label":"Left", "matrix": [10, 7], "x": 16.25, "y": 5.25, "w": 1 }, + { "label":"Up", "matrix": [10, 8], "x": 17.25, "y": 5.25, "w": 1 }, + { "label":"Down", "matrix": [10, 9], "x": 18.25, "y": 5.25, "w": 1 }, + { "label":"Right", "matrix": [10, 10], "x": 19.25, "y": 5.25, "w": 1 } + ] + }, + "LAYOUT_iso": { + "layout": [ + { "label":"Middle Click", "matrix": [0, 0], "x": 0, "y": 0, "w": 1 }, + + { "label":"F16", "matrix": [0, 1], "x": 1, "y": 0, "w": 1 }, + { "label":"F17", "matrix": [0, 2], "x": 2, "y": 0, "w": 1 }, + { "label":"F18", "matrix": [0, 3], "x": 3, "y": 0, "w": 1 }, + { "label":"F19", "matrix": [0, 4], "x": 4, "y": 0, "w": 1 }, + { "label":"F1", "matrix": [0, 5], "x": 5.25, "y": 0, "w": 1 }, + { "label":"F2", "matrix": [0, 6], "x": 6.25, "y": 0, "w": 1 }, + { "label":"F3", "matrix": [0, 7], "x": 7.25, "y": 0, "w": 1 }, + { "label":"F4", "matrix": [0, 8], "x": 8.25, "y": 0, "w": 1 }, + { "label":"F5", "matrix": [0, 9], "x": 9.25, "y": 0, "w": 1 }, + { "label":"F6", "matrix": [0, 10], "x": 10.25, "y": 0, "w": 1 }, + { "label":"F7", "matrix": [5, 6], "x": 11.25, "y": 0, "w": 1 }, + { "label":"F8", "matrix": [5, 7], "x": 12.25, "y": 0, "w": 1 }, + { "label":"F9", "matrix": [5, 8], "x": 13.25, "y": 0, "w": 1 }, + { "label":"F10", "matrix": [5, 9], "x": 14.25, "y": 0, "w": 1 }, + { "label":"F11", "matrix": [5, 10], "x": 15.25, "y": 0, "w": 1 }, + { "label":"F12", "matrix": [7, 1], "x": 16.25, "y": 0, "w": 1 }, + { "label":"F13", "matrix": [7, 2], "x": 17.25, "y": 0, "w": 1 }, + { "label":"F14", "matrix": [7, 3], "x": 18.25, "y": 0, "w": 1 }, + { "label":"F15", "matrix": [7, 4], "x": 19.25, "y": 0, "w": 1 }, + + { "label":"F20", "matrix": [1, 1], "x": 0, "y": 1, "w": 1 }, + { "label":"F21", "matrix": [1, 2], "x": 1, "y": 1, "w": 1 }, + { "label":"F22", "matrix": [1, 3], "x": 2, "y": 1, "w": 1 }, + { "label":"F23", "matrix": [1, 4], "x": 3, "y": 1, "w": 1 }, + { "label":"F24", "matrix": [1, 5], "x": 4, "y": 1, "w": 1 }, + { "label":"Esc", "matrix": [1, 6], "x": 5.25, "y": 1.25, "w": 1 }, + { "label":"1", "matrix": [1, 7], "x": 6.25, "y": 1.25, "w": 1 }, + { "label":"2", "matrix": [1, 8], "x": 7.25, "y": 1.25, "w": 1 }, + { "label":"3", "matrix": [1, 9], "x": 8.25, "y": 1.25, "w": 1 }, + { "label":"4", "matrix": [1, 10], "x": 9.25, "y": 1.25, "w": 1 }, + { "label":"5", "matrix": [6, 6], "x": 10.25, "y": 1.25, "w": 1 }, + { "label":"6", "matrix": [6, 7], "x": 11.25, "y": 1.25, "w": 1 }, + { "label":"7", "matrix": [6, 8], "x": 12.25, "y": 1.25, "w": 1 }, + { "label":"8", "matrix": [6, 9], "x": 13.25, "y": 1.25, "w": 1 }, + { "label":"9", "matrix": [6, 10], "x": 14.25, "y": 1.25, "w": 1 }, + { "label":"0", "matrix": [8, 1], "x": 15.25, "y": 1.25, "w": 1 }, + { "label":"-", "matrix": [8, 2], "x": 16.25, "y": 1.25, "w": 1 }, + { "label":"=", "matrix": [8, 3], "x": 17.25, "y": 1.25, "w": 1 }, + { "label":"Backspace", "matrix": [7, 5], "x": 18.25, "y": 1.25, "w": 2 }, + + { "label":"/", "matrix": [2, 1], "x": 0, "y": 2.25, "w": 1 }, + { "label":"7", "matrix": [2, 2], "x": 1, "y": 2.25, "w": 1 }, + { "label":"8", "matrix": [2, 3], "x": 2, "y": 2.25, "w": 1 }, + { "label":"9", "matrix": [2, 4], "x": 3, "y": 2.25, "w": 1 }, + { "label":"Home", "matrix": [2, 5], "x": 4, "y": 2.25, "w": 1 }, + { "label":"Tab", "matrix": [2, 6], "x": 5.25, "y": 2.25, "w": 1.5 }, + { "label":"Q", "matrix": [2, 7], "x": 6.75, "y": 2.25, "w": 1 }, + { "label":"W", "matrix": [2, 8], "x": 7.75, "y": 2.25, "w": 1 }, + { "label":"E", "matrix": [2, 9], "x": 8.75, "y": 2.25, "w": 1 }, + { "label":"R", "matrix": [2, 10], "x": 9.75, "y": 2.25, "w": 1 }, + { "label":"T", "matrix": [7, 6], "x": 10.75, "y": 2.25, "w": 1 }, + { "label":"Y", "matrix": [7, 7], "x": 11.75, "y": 2.25, "w": 1 }, + { "label":"U", "matrix": [7, 8], "x": 12.75, "y": 2.25, "w": 1 }, + { "label":"I", "matrix": [7, 9], "x": 13.75, "y": 2.25, "w": 1 }, + { "label":"O", "matrix": [7, 10], "x": 14.75, "y": 2.25, "w": 1 }, + { "label":"P", "matrix": [9, 1], "x": 15.75, "y": 2.25, "w": 1 }, + { "label":"[", "matrix": [9, 2], "x": 16.75, "y": 2.25, "w": 1 }, + { "label":"]", "matrix": [9, 3], "x": 17.75, "y": 2.25, "w": 1 }, + + { "label":"*", "matrix": [3, 1], "x": 0, "y": 3.25, "w": 1 }, + { "label":"4", "matrix": [3, 2], "x": 1, "y": 3.25, "w": 1 }, + { "label":"5", "matrix": [3, 3], "x": 2, "y": 3.25, "w": 1 }, + { "label":"6", "matrix": [3, 4], "x": 3, "y": 3.25, "w": 1 }, + { "label":"End", "matrix": [3, 5], "x": 4, "y": 3.25, "w": 1 }, + { "label":"Alt", "matrix": [3, 6], "x": 5.25, "y": 3.25, "w": 1.75 }, + { "label":"A", "matrix": [3, 7], "x": 7, "y": 3.25, "w": 1 }, + { "label":"S", "matrix": [3, 8], "x": 8, "y": 3.25, "w": 1 }, + { "label":"D", "matrix": [3, 9], "x": 9, "y": 3.25, "w": 1 }, + { "label":"F", "matrix": [3, 10], "x": 10, "y": 3.25, "w": 1 }, + { "label":"G", "matrix": [8, 6], "x": 11, "y": 3.25, "w": 1 }, + { "label":"H", "matrix": [8, 7], "x": 12, "y": 3.25, "w": 1 }, + { "label":"J", "matrix": [8, 8], "x": 13, "y": 3.25, "w": 1 }, + { "label":"K", "matrix": [8, 9], "x": 14, "y": 3.25, "w": 1 }, + { "label":"L", "matrix": [8, 10], "x": 15, "y": 3.25, "w": 1 }, + { "label":";", "matrix": [10, 1], "x": 16, "y": 3.25, "w": 1 }, + { "label":"'", "matrix": [10, 2], "x": 17, "y": 3.25, "w": 1 }, + { "label":"\\", "matrix": [10, 3], "x": 18, "y": 3.25, "w": 1 }, + { "label":"Enter", "matrix": [9, 4], "x": 19, "y": 2.25, "w": 1.25, "h": 2 }, + + { "label":"-", "matrix": [4, 1], "x": 0, "y": 4.25, "w": 1 }, + { "label":"1", "matrix": [4, 2], "x": 1, "y": 4.25, "w": 1 }, + { "label":"2", "matrix": [4, 3], "x": 2, "y": 4.25, "w": 1 }, + { "label":"3", "matrix": [4, 4], "x": 3, "y": 4.25, "w": 1 }, + { "label":"Page Up", "matrix": [4, 5], "x": 4, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [4, 6], "x": 5.25, "y": 4.25, "w": 1.25}, + { "label":"\\", "matrix": [4, 7], "x": 6.5, "y": 4.25, "w": 1 }, + { "label":"Z", "matrix": [4, 8], "x": 7.5, "y": 4.25, "w": 1 }, + { "label":"X", "matrix": [4, 9], "x": 8.5, "y": 4.25, "w": 1 }, + { "label":"C", "matrix": [4, 10], "x": 9.5, "y": 4.25, "w": 1 }, + { "label":"V", "matrix": [9, 6], "x": 10.5, "y": 4.25, "w": 1 }, + { "label":"B", "matrix": [9, 7], "x": 11.5, "y": 4.25, "w": 1 }, + { "label":"N", "matrix": [9, 8], "x": 12.5, "y": 4.25, "w": 1 }, + { "label":"M", "matrix": [9, 9], "x": 13.5, "y": 4.25, "w": 1 }, + { "label":",", "matrix": [9, 10], "x": 14.5, "y": 4.25, "w": 1 }, + { "label":".", "matrix": [10, 4], "x": 15.5, "y": 4.25, "w": 1 }, + { "label":"/", "matrix": [10, 5], "x": 16.5, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [8, 5], "x": 17.5, "y": 4.25, "w": 2.75 }, + + { "label":"+", "matrix": [5, 1], "x": 0, "y": 5.25, "w": 1 }, + { "label":"0", "matrix": [5, 2], "x": 1, "y": 5.25, "w": 1 }, + { "label":".", "matrix": [5, 3], "x": 2, "y": 5.25, "w": 1 }, + { "label":"Enter", "matrix": [5, 4], "x": 3, "y": 5.25, "w": 1 }, + { "label":"Page Down", "matrix": [5, 5], "x": 4, "y": 5.25, "w": 1 }, + { "label":"Win", "matrix": [6, 1], "x": 5.25, "y": 5.25, "w": 1 }, + { "label":"Ctrl", "matrix": [6, 2], "x": 6.25, "y": 5.25, "w": 1 }, + { "label":"Print", "matrix": [6, 3], "x": 7.25, "y": 5.25, "w": 1 }, + { "label":"Muhenkan", "matrix": [6, 4], "x": 8.25, "y": 5.25, "w": 1 }, + { "label":"Space", "matrix": [6, 5], "x": 9.25, "y": 5.25, "w": 6 }, + { "label":"Henkan", "matrix": [10, 6], "x": 15.25, "y": 5.25, "w": 1 }, + { "label":"Left", "matrix": [10, 7], "x": 16.25, "y": 5.25, "w": 1 }, + { "label":"Up", "matrix": [10, 8], "x": 17.25, "y": 5.25, "w": 1 }, + { "label":"Down", "matrix": [10, 9], "x": 18.25, "y": 5.25, "w": 1 }, + { "label":"Right", "matrix": [10, 10], "x": 19.25, "y": 5.25, "w": 1 } + ] + }, + "LAYOUT_iso_split_bs_rshift": { + "layout": [ + { "label":"Middle Click", "matrix": [0, 0], "x": 0, "y": 0, "w": 1 }, + + { "label":"F16", "matrix": [0, 1], "x": 1, "y": 0, "w": 1 }, + { "label":"F17", "matrix": [0, 2], "x": 2, "y": 0, "w": 1 }, + { "label":"F18", "matrix": [0, 3], "x": 3, "y": 0, "w": 1 }, + { "label":"F19", "matrix": [0, 4], "x": 4, "y": 0, "w": 1 }, + { "label":"F1", "matrix": [0, 5], "x": 5.25, "y": 0, "w": 1 }, + { "label":"F2", "matrix": [0, 6], "x": 6.25, "y": 0, "w": 1 }, + { "label":"F3", "matrix": [0, 7], "x": 7.25, "y": 0, "w": 1 }, + { "label":"F4", "matrix": [0, 8], "x": 8.25, "y": 0, "w": 1 }, + { "label":"F5", "matrix": [0, 9], "x": 9.25, "y": 0, "w": 1 }, + { "label":"F6", "matrix": [0, 10], "x": 10.25, "y": 0, "w": 1 }, + { "label":"F7", "matrix": [5, 6], "x": 11.25, "y": 0, "w": 1 }, + { "label":"F8", "matrix": [5, 7], "x": 12.25, "y": 0, "w": 1 }, + { "label":"F9", "matrix": [5, 8], "x": 13.25, "y": 0, "w": 1 }, + { "label":"F10", "matrix": [5, 9], "x": 14.25, "y": 0, "w": 1 }, + { "label":"F11", "matrix": [5, 10], "x": 15.25, "y": 0, "w": 1 }, + { "label":"F12", "matrix": [7, 1], "x": 16.25, "y": 0, "w": 1 }, + { "label":"F13", "matrix": [7, 2], "x": 17.25, "y": 0, "w": 1 }, + { "label":"F14", "matrix": [7, 3], "x": 18.25, "y": 0, "w": 1 }, + { "label":"F15", "matrix": [7, 4], "x": 19.25, "y": 0, "w": 1 }, + + { "label":"F20", "matrix": [1, 1], "x": 0, "y": 1, "w": 1 }, + { "label":"F21", "matrix": [1, 2], "x": 1, "y": 1, "w": 1 }, + { "label":"F22", "matrix": [1, 3], "x": 2, "y": 1, "w": 1 }, + { "label":"F23", "matrix": [1, 4], "x": 3, "y": 1, "w": 1 }, + { "label":"F24", "matrix": [1, 5], "x": 4, "y": 1, "w": 1 }, + { "label":"Esc", "matrix": [1, 6], "x": 5.25, "y": 1.25, "w": 1 }, + { "label":"1", "matrix": [1, 7], "x": 6.25, "y": 1.25, "w": 1 }, + { "label":"2", "matrix": [1, 8], "x": 7.25, "y": 1.25, "w": 1 }, + { "label":"3", "matrix": [1, 9], "x": 8.25, "y": 1.25, "w": 1 }, + { "label":"4", "matrix": [1, 10], "x": 9.25, "y": 1.25, "w": 1 }, + { "label":"5", "matrix": [6, 6], "x": 10.25, "y": 1.25, "w": 1 }, + { "label":"6", "matrix": [6, 7], "x": 11.25, "y": 1.25, "w": 1 }, + { "label":"7", "matrix": [6, 8], "x": 12.25, "y": 1.25, "w": 1 }, + { "label":"8", "matrix": [6, 9], "x": 13.25, "y": 1.25, "w": 1 }, + { "label":"9", "matrix": [6, 10], "x": 14.25, "y": 1.25, "w": 1 }, + { "label":"0", "matrix": [8, 1], "x": 15.25, "y": 1.25, "w": 1 }, + { "label":"-", "matrix": [8, 2], "x": 16.25, "y": 1.25, "w": 1 }, + { "label":"=", "matrix": [8, 3], "x": 17.25, "y": 1.25, "w": 1 }, + { "label":"Delete", "matrix": [8, 4], "x": 18.25, "y": 1.25, "w": 1 }, + { "label":"Backspace", "matrix": [7, 5], "x": 19.25, "y": 1.25, "w": 1 }, + + { "label":"/", "matrix": [2, 1], "x": 0, "y": 2.25, "w": 1 }, + { "label":"7", "matrix": [2, 2], "x": 1, "y": 2.25, "w": 1 }, + { "label":"8", "matrix": [2, 3], "x": 2, "y": 2.25, "w": 1 }, + { "label":"9", "matrix": [2, 4], "x": 3, "y": 2.25, "w": 1 }, + { "label":"Home", "matrix": [2, 5], "x": 4, "y": 2.25, "w": 1 }, + { "label":"Tab", "matrix": [2, 6], "x": 5.25, "y": 2.25, "w": 1.5 }, + { "label":"Q", "matrix": [2, 7], "x": 6.75, "y": 2.25, "w": 1 }, + { "label":"W", "matrix": [2, 8], "x": 7.75, "y": 2.25, "w": 1 }, + { "label":"E", "matrix": [2, 9], "x": 8.75, "y": 2.25, "w": 1 }, + { "label":"R", "matrix": [2, 10], "x": 9.75, "y": 2.25, "w": 1 }, + { "label":"T", "matrix": [7, 6], "x": 10.75, "y": 2.25, "w": 1 }, + { "label":"Y", "matrix": [7, 7], "x": 11.75, "y": 2.25, "w": 1 }, + { "label":"U", "matrix": [7, 8], "x": 12.75, "y": 2.25, "w": 1 }, + { "label":"I", "matrix": [7, 9], "x": 13.75, "y": 2.25, "w": 1 }, + { "label":"O", "matrix": [7, 10], "x": 14.75, "y": 2.25, "w": 1 }, + { "label":"P", "matrix": [9, 1], "x": 15.75, "y": 2.25, "w": 1 }, + { "label":"[", "matrix": [9, 2], "x": 16.75, "y": 2.25, "w": 1 }, + { "label":"]", "matrix": [9, 3], "x": 17.75, "y": 2.25, "w": 1 }, + + { "label":"*", "matrix": [3, 1], "x": 0, "y": 3.25, "w": 1 }, + { "label":"4", "matrix": [3, 2], "x": 1, "y": 3.25, "w": 1 }, + { "label":"5", "matrix": [3, 3], "x": 2, "y": 3.25, "w": 1 }, + { "label":"6", "matrix": [3, 4], "x": 3, "y": 3.25, "w": 1 }, + { "label":"End", "matrix": [3, 5], "x": 4, "y": 3.25, "w": 1 }, + { "label":"Alt", "matrix": [3, 6], "x": 5.25, "y": 3.25, "w": 1.75 }, + { "label":"A", "matrix": [3, 7], "x": 7, "y": 3.25, "w": 1 }, + { "label":"S", "matrix": [3, 8], "x": 8, "y": 3.25, "w": 1 }, + { "label":"D", "matrix": [3, 9], "x": 9, "y": 3.25, "w": 1 }, + { "label":"F", "matrix": [3, 10], "x": 10, "y": 3.25, "w": 1 }, + { "label":"G", "matrix": [8, 6], "x": 11, "y": 3.25, "w": 1 }, + { "label":"H", "matrix": [8, 7], "x": 12, "y": 3.25, "w": 1 }, + { "label":"J", "matrix": [8, 8], "x": 13, "y": 3.25, "w": 1 }, + { "label":"K", "matrix": [8, 9], "x": 14, "y": 3.25, "w": 1 }, + { "label":"L", "matrix": [8, 10], "x": 15, "y": 3.25, "w": 1 }, + { "label":";", "matrix": [10, 1], "x": 16, "y": 3.25, "w": 1 }, + { "label":"'", "matrix": [10, 2], "x": 17, "y": 3.25, "w": 1 }, + { "label":"\\", "matrix": [10, 3], "x": 18, "y": 3.25, "w": 1 }, + { "label":"Enter", "matrix": [9, 4], "x": 19, "y": 2.25, "w": 1.25, "h": 2 }, + + { "label":"-", "matrix": [4, 1], "x": 0, "y": 4.25, "w": 1 }, + { "label":"1", "matrix": [4, 2], "x": 1, "y": 4.25, "w": 1 }, + { "label":"2", "matrix": [4, 3], "x": 2, "y": 4.25, "w": 1 }, + { "label":"3", "matrix": [4, 4], "x": 3, "y": 4.25, "w": 1 }, + { "label":"Page Up", "matrix": [4, 5], "x": 4, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [4, 6], "x": 5.25, "y": 4.25, "w": 1.25}, + { "label":"\\", "matrix": [4, 7], "x": 6.5, "y": 4.25, "w": 1 }, + { "label":"Z", "matrix": [4, 8], "x": 7.5, "y": 4.25, "w": 1 }, + { "label":"X", "matrix": [4, 9], "x": 8.5, "y": 4.25, "w": 1 }, + { "label":"C", "matrix": [4, 10], "x": 9.5, "y": 4.25, "w": 1 }, + { "label":"V", "matrix": [9, 6], "x": 10.5, "y": 4.25, "w": 1 }, + { "label":"B", "matrix": [9, 7], "x": 11.5, "y": 4.25, "w": 1 }, + { "label":"N", "matrix": [9, 8], "x": 12.5, "y": 4.25, "w": 1 }, + { "label":"M", "matrix": [9, 9], "x": 13.5, "y": 4.25, "w": 1 }, + { "label":",", "matrix": [9, 10], "x": 14.5, "y": 4.25, "w": 1 }, + { "label":".", "matrix": [10, 4], "x": 15.5, "y": 4.25, "w": 1 }, + { "label":"/", "matrix": [10, 5], "x": 16.5, "y": 4.25, "w": 1 }, + { "label":"`", "matrix": [9, 5], "x": 17.5, "y": 4.25, "w": 1 }, + { "label":"Shift", "matrix": [8, 5], "x": 18.5, "y": 4.25, "w": 1.75 }, + + { "label":"+", "matrix": [5, 1], "x": 0, "y": 5.25, "w": 1 }, + { "label":"0", "matrix": [5, 2], "x": 1, "y": 5.25, "w": 1 }, + { "label":".", "matrix": [5, 3], "x": 2, "y": 5.25, "w": 1 }, + { "label":"Enter", "matrix": [5, 4], "x": 3, "y": 5.25, "w": 1 }, + { "label":"Page Down", "matrix": [5, 5], "x": 4, "y": 5.25, "w": 1 }, + { "label":"Win", "matrix": [6, 1], "x": 5.25, "y": 5.25, "w": 1 }, + { "label":"Ctrl", "matrix": [6, 2], "x": 6.25, "y": 5.25, "w": 1 }, + { "label":"Print", "matrix": [6, 3], "x": 7.25, "y": 5.25, "w": 1 }, + { "label":"Muhenkan", "matrix": [6, 4], "x": 8.25, "y": 5.25, "w": 1 }, + { "label":"Space", "matrix": [6, 5], "x": 9.25, "y": 5.25, "w": 6 }, + { "label":"Henkan", "matrix": [10, 6], "x": 15.25, "y": 5.25, "w": 1 }, + { "label":"Left", "matrix": [10, 7], "x": 16.25, "y": 5.25, "w": 1 }, + { "label":"Up", "matrix": [10, 8], "x": 17.25, "y": 5.25, "w": 1 }, + { "label":"Down", "matrix": [10, 9], "x": 18.25, "y": 5.25, "w": 1 }, + { "label":"Right", "matrix": [10, 10], "x": 19.25, "y": 5.25, "w": 1 } + ] + } + } +} diff --git a/keyboards/varanidae/keymaps/ansi/keymap.c b/keyboards/varanidae/keymaps/ansi/keymap.c new file mode 100644 index 0000000000..c020bd6718 --- /dev/null +++ b/keyboards/varanidae/keymaps/ansi/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_ansi( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/ansi/rules.mk b/keyboards/varanidae/keymaps/ansi/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/varanidae/keymaps/ansi/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/keymaps/ansi_split_bs_rshift/keymap.c b/keyboards/varanidae/keymaps/ansi_split_bs_rshift/keymap.c new file mode 100644 index 0000000000..becb812071 --- /dev/null +++ b/keyboards/varanidae/keymaps/ansi_split_bs_rshift/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_ansi_split_bs_rshift( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_GRV, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/ansi_split_bs_rshift/rules.mk b/keyboards/varanidae/keymaps/ansi_split_bs_rshift/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/varanidae/keymaps/ansi_split_bs_rshift/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/keymaps/default/keymap.c b/keyboards/varanidae/keymaps/default/keymap.c new file mode 100644 index 0000000000..4c43532108 --- /dev/null +++ b/keyboards/varanidae/keymaps/default/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_GRV, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/default/rules.mk b/keyboards/varanidae/keymaps/default/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/varanidae/keymaps/default/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/keymaps/iso/keymap.c b/keyboards/varanidae/keymaps/iso/keymap.c new file mode 100644 index 0000000000..b1f1b0c9a4 --- /dev/null +++ b/keyboards/varanidae/keymaps/iso/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_iso( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/iso/rules.mk b/keyboards/varanidae/keymaps/iso/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/varanidae/keymaps/iso/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/keymaps/iso_split_bs_rshift/keymap.c b/keyboards/varanidae/keymaps/iso_split_bs_rshift/keymap.c new file mode 100644 index 0000000000..7324f62877 --- /dev/null +++ b/keyboards/varanidae/keymaps/iso_split_bs_rshift/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_iso_split_bs_rshift( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_GRV, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/iso_split_bs_rshift/rules.mk b/keyboards/varanidae/keymaps/iso_split_bs_rshift/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/varanidae/keymaps/iso_split_bs_rshift/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/keymaps/via/keymap.c b/keyboards/varanidae/keymaps/via/keymap.c new file mode 100644 index 0000000000..20e942e455 --- /dev/null +++ b/keyboards/varanidae/keymaps/via/keymap.c @@ -0,0 +1,35 @@ +/* Copyright 2023 QMK + * Copyright 2023 Silc Renew / Tokage IT Lab. + * + * 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 . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_BTN3, KC_F16, KC_F17, KC_F18, KC_F19, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, + KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, + KC_PSLS, KC_P7, KC_P8, KC_P9, KC_HOME, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_PAST, KC_P4, KC_P5, KC_P6, KC_END, KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, + KC_PMNS, KC_P1, KC_P2, KC_P3, KC_PGUP, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_GRV, KC_RSFT, + KC_PPLS, KC_P0, KC_PDOT, KC_PENT, KC_PGDN, KC_LWIN, KC_LCTL, KC_PSCR, KC_INT5, KC_SPC, KC_INT4, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_WH_U, KC_WH_D) } +}; +#endif diff --git a/keyboards/varanidae/keymaps/via/rules.mk b/keyboards/varanidae/keymaps/via/rules.mk new file mode 100644 index 0000000000..f1adcab005 --- /dev/null +++ b/keyboards/varanidae/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/varanidae/readme.md b/keyboards/varanidae/readme.md new file mode 100644 index 0000000000..fbaaa77d64 --- /dev/null +++ b/keyboards/varanidae/readme.md @@ -0,0 +1,24 @@ +# Varanidae + +![Varanidae](https://i.imgur.com/0wWfmE1h.png) + +Varanidae the left-side pad 110 keys keyboard for creators powered by Elite-C. + +* Keyboard Maintainer: [Silc Renew](https://github.com/TokageItLab) +* Hardware Supported: Varanidae +* Hardware Availability: [TokageItLab / Varanidae](https://github.com/TokageItLab/Varanidae) + +Make example for this keyboard (after setting up your build environment): + + make varanidae:default + make varanidae:via + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the switch at (0,0) in the matrix (usually the encoder push switch) and plug in the keyboard +* **Physical reset button**: Briefly press the reset switch on the Elite-C +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/varanidae/rules.mk b/keyboards/varanidae/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/varanidae/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank