Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nijikokun
Last active January 12, 2023 05:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nijikokun/046e637dc309fcd1a3aacc5b7fb84979 to your computer and use it in GitHub Desktop.
Save nijikokun/046e637dc309fcd1a3aacc5b7fb84979 to your computer and use it in GitHub Desktop.
FN+WASD -> Arrow Keys (Simple key caps_lock to fn)
{
"description": "caps_lock + w,a,s,d to arrow_keys",
"manipulators": [
{
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment