[Keymap] crkbd/keymaps/rs: add rs keymap to corne keyboard and adapt others (#5181)
Update all my keymaps to work with 40 keys. Refactor code using Userspace.
This commit is contained in:
committed by
Drashna Jaelre
parent
3b13259942
commit
2d5c16dfd4
154
users/rs/karabiner.json
Normal file
154
users/rs/karabiner.json
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"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"}]
|
||||
}]
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user