Skip to content

Instantly share code, notes, and snippets.

@emraher
Created May 23, 2023 21:36
Show Gist options
  • Save emraher/9a463d09a2da953a5b4893d54ef96db5 to your computer and use it in GitHub Desktop.
Save emraher/9a463d09a2da953a5b4893d54ef96db5 to your computer and use it in GitHub Desktop.
Fine volume control (g915 tkl volume wheel) adapted from https://ke-complex-modifications.pqrs.org/#fine_volume_control
{
"title": "Fine volume control (g915 tkl volume wheel)",
"rules": [
{
"description": "Map volume wheel controls to fine volume controls (Option + Shift + Volume)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "volume_decrement"
},
"to": [
{
"key_code": "volume_decrement",
"modifiers": [
"left_shift",
"left_option"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "volume_decrement",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f11",
"modifiers": [
"fn"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "volume_increment"
},
"to": [
{
"key_code": "volume_increment",
"modifiers": [
"left_shift",
"left_option"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "volume_increment",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f12",
"modifiers": [
"fn"
]
}
]
}
]
}
]
}