From 329380b2e5107baf77ac120e8d818d38c2703fde Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Mon, 6 Mar 2023 16:24:32 -0800 Subject: [PATCH] [Keyboard] Enable auto layer on charybdis via keymap --- .../charybdis/4x6/keymaps/via/via.json | 180 ++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json diff --git a/keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json b/keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json new file mode 100644 index 0000000000..a7afb2b0a5 --- /dev/null +++ b/keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json @@ -0,0 +1,180 @@ +{ + "name": "Charybdis", + "vendorId": "0xA8F8", + "productId": "0x1833", + "menus": [ + "qmk_rgb_matrix", + { + "label": "Pointing", + "content": [ + { + "label": "Auto Layer", + "content": [ + { + "label": "Enable", + "type": "toggle", + "content": ["id_charybdis_autolayer_enable", 0, 1] + }, + { + "showIf": "{id_charybdis_autolayer_enable} == 1", + "content": [ + { + "label": "Mouse Layer", + "type": "dropdown", + "options": [ + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_charybdis_autolayer_layer", 0, 2] + } + ] + } + ] + } + ] + } + ], + "matrix": { + "rows": 10, + "cols": 6 + }, + "customKeycodes": [ + { + "title": "Default DPI Increase", + "name": "Default DPI Inc", + "shortName": "DPI+" + }, + { + "title": "Default DPI Decrease", + "name": "Default DPI Dec", + "shortName": "DPI-" + }, + { + "title": "Sniping DPI Increase", + "name": "Sniping DPI Inc", + "shortName": "Snp+" + }, + { + "title": "Sniping DPI Decrease", + "name": "Sniping DPI Dec", + "shortName": "Snp-" + }, + { + "title": "Sniping Momentary", + "name": "Sniping MO", + "shortName": "Snp" + }, + { + "title": "Sniping Toggle", + "name": "Sniping TO", + "shortName": "SnpT" + }, + { + "title": "Drag-scroll Momentary", + "name": "Drag-scroll MO", + "shortName": "Drg" + }, + { + "title": "Drag-scroll Toggle", + "name": "Drag-scroll TG", + "shortName": "DrgT" + } + ], + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + { + "x": 4 + }, + "5,5", + "5,4", + "5,3", + "5,2", + "5,1", + "5,0" + ], + [ + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + { + "x": 4 + }, + "6,5", + "6,4", + "6,3", + "6,2", + "6,1", + "6,0" + ], + [ + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + { + "x": 4 + }, + "7,5", + "7,4", + "7,3", + "7,2", + "7,1", + "7,0" + ], + [ + "3,0", + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + { + "x": 4 + }, + "8,5", + "8,4", + "8,3", + "8,2", + "8,1", + "8,0" + ], + [ + { + "x": 4 + }, + "4,3", + "4,4", + "4,1", + { + "x": 2 + }, + "9,1", + "9,3" + ], + [ + { + "x": 5 + }, + "4,5", + "4,2", + { + "x": 2 + }, + "9,5" + ] + ] + } +}