Created
April 16, 2020 19:24
-
-
Save bidah/c42d2d1dc63f7308d73053a3a1475ee8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Change modifiers to arrows", | |
"rules": [ | |
{ | |
"description": "Change right_shift to top_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_shift", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_shift" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "top_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Change right_ctrl to right_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_control" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Change right_alt to down_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_alt", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_alt" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Change right_command to left_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment