mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
2d5c16dfd4
Update all my keymaps to work with 40 keys. Refactor code using Userspace.
155 lines
4.2 KiB
JSON
155 lines
4.2 KiB
JSON
{
|
|
"title": "RS",
|
|
"rules": [{
|
|
"description": "CapsLock to Escape / Control Mod-Tap",
|
|
"manipulators": [{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "caps_lock",
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "left_control"}],
|
|
"to_if_alone": [{"key_code": "escape"}]
|
|
}]
|
|
},
|
|
{
|
|
"description": "Right-Shift / Enter Mod-Tap",
|
|
"manipulators": [{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "right_shift",
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "right_shift"}],
|
|
"to_if_alone": [{"key_code": "return_or_enter"}]
|
|
}]
|
|
},
|
|
{
|
|
"description": "Right-Command / Backspace Mod-Tap",
|
|
"manipulators": [{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "right_command",
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "right_command"}],
|
|
"to_if_alone": [{"key_code": "delete_or_backspace"}]
|
|
}]
|
|
},
|
|
{
|
|
"description": "Right-Command Accents",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "a",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["left_shift", "right_shift"]
|
|
}
|
|
},
|
|
"to": [
|
|
{"key_code": "grave_accent_and_tilde", "modifiers": ["left_option"]},
|
|
{"key_code": "a"}
|
|
]
|
|
}]
|
|
},
|
|
{
|
|
"description": "Right Command Navigation",
|
|
"manipulators": [{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "left_arrow"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "down_arrow"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "i",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "up_arrow"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "right_arrow"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "e",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "page_up"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "d",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "page_down"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "s",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "home"}]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "f",
|
|
"modifiers": {
|
|
"mandatory": ["right_command"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{"key_code": "end"}]
|
|
}]
|
|
}]
|
|
}
|