[Keyboard] Enable auto layer on charybdis via keymap
This commit is contained in:
parent
00b73c3047
commit
329380b2e5
1 changed files with 180 additions and 0 deletions
180
keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json
Normal file
180
keyboards/bastardkb/charybdis/4x6/keymaps/via/via.json
Normal file
|
@ -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"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue