Last active
May 3, 2023 20:01
-
-
Save Geczy/4d82efa12ec8c84e45468b4463f7c7a8 to your computer and use it in GitHub Desktop.
dota 2 keychron q1 keymaps with karabiner
This file contains hidden or 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": "Swap Left Option/Command only in Dota2", | |
"rules": [ | |
{ | |
"description": "Left Control to Option", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Left Command to Control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Left Option to Command", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Play to F8", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"consumer_key_code": "play_or_pause" | |
}, | |
"to": [ | |
{ | |
"key_code": "f8" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Next to F9", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"consumer_key_code": "scan_next_track" | |
}, | |
"to": [ | |
{ | |
"key_code": "f9" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Brightness to F1", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"consumer_key_code": "display_brightness_decrement" | |
}, | |
"to": [ | |
{ | |
"key_code": "f1" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"^com.valvesoftware.dota2" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment