Skip to content

Instantly share code, notes, and snippets.

@danielhanold
Last active September 14, 2017 17:25
Show Gist options
  • Save danielhanold/99169b31b1e93edf09155f6f3f22ee6c to your computer and use it in GitHub Desktop.
Save danielhanold/99169b31b1e93edf09155f6f3f22ee6c to your computer and use it in GitHub Desktop.
{
"title": "Tapping modifier-keys produces a f-key.",
"rules": [
{
"description": "Press left_shift alone produces F6",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift"
}
],
"to_if_alone": [
{
"key_code": "f6"
}
]
}
]
},
{
"description": "Press right_shift alone produces F6",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_shift"
}
],
"to_if_alone": [
{
"key_code": "f6"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment