Skip to content

Instantly share code, notes, and snippets.

@Gyubin
Created January 30, 2026 15:04
Show Gist options
  • Select an option

  • Save Gyubin/d87694745d74a19a24ebf8a87d3fec18 to your computer and use it in GitHub Desktop.

Select an option

Save Gyubin/d87694745d74a19a24ebf8a87d3fec18 to your computer and use it in GitHub Desktop.
{
"description": "Normalize modified F19 to plain F19 (split rules)",
"manipulators": [
{
"from": {
"key_code": "f19",
"modifiers": {
"mandatory": ["left_shift"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f19",
"modifiers": []
}
],
"type": "basic"
},
{
"from": {
"key_code": "f19",
"modifiers": {
"mandatory": ["left_command"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f19",
"modifiers": []
}
],
"type": "basic"
},
{
"from": {
"key_code": "f19",
"modifiers": {
"mandatory": ["left_alt"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "f19",
"modifiers": []
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{ "key_code": "spacebar" },
{ "key_code": "f19" }
],
"simultaneous_options": {
"detect_key_down_uninterruptedly": true,
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "space_f19",
"value": 0
}
}
]
}
},
"to": [{ "key_code": "f19" }],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment