Last active
July 29, 2022 19:08
-
-
Save mrshannonyoung/b925eb83606ab36747e697e8a9ea2f75 to your computer and use it in GitHub Desktop.
Karabiner elements
This file contains 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":"alt_to_1", | |
"rules":[ | |
{ | |
"description":"alt_to_1", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"left_option", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to":[ | |
{"key_code":"1"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"delete_items", | |
"rules":[ | |
{ | |
"description":"yep", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"hyphen", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to":[ | |
{"pointing_button": "button1"}, | |
{"key_code":"return_or_enter"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"go_home", | |
"rules":[ | |
{ | |
"description":"go_home", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"x", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to":[ | |
{"key_code":"caps_lock"}, | |
{"key_code":"t"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"grave_press_9_and_7", | |
"rules":[ | |
{ | |
"description":"grave_press_9_and_7", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"non_us_backslash", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to":[ | |
{"key_code":"9"}, | |
{"key_code":"7"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"Mouse buttons", | |
"rules":[ | |
{ | |
"description":"q", | |
"frontmost_application":{ | |
"bundle_identifier":"com.blizzard.diablo3", | |
"file_path":"/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"q", | |
"modifiers":{ | |
"optional":[ | |
"caps_lock" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 90, | |
"basic.to_if_held_down_threshold_milliseconds": 90 | |
}, | |
"to_if_held_down":[ | |
{ | |
"pointing_button":"button1", | |
"modifiers":[ | |
"left_command" | |
] | |
} | |
], | |
"to_if_alone":[ | |
{ | |
"pointing_button":"button1" | |
} | |
], | |
"type":"basic" | |
} | |
] | |
}, | |
{ | |
"description":"w", | |
"frontmost_application":{ | |
"bundle_identifier":"com.blizzard.diablo3", | |
"file_path":"/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"w", | |
"modifiers":{ | |
"optional":[ | |
"caps_lock" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 90, | |
"basic.to_if_held_down_threshold_milliseconds": 90 | |
}, | |
"to_if_held_down":[ | |
{ | |
"pointing_button":"button2", | |
"modifiers":[ | |
"left_command" | |
] | |
} | |
], | |
"to_if_alone":[ | |
{ | |
"pointing_button":"button2" | |
} | |
], | |
"type":"basic" | |
} | |
] | |
}, | |
{ | |
"description":"Graphics", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"g", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"parameters":{ | |
"basic.to_delayed_action_delay_milliseconds":700 | |
}, | |
"to":[ | |
{ | |
"shell_command": "/usr/bin/osascript ~/Documents/D3/graphics.scpt" | |
} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"one_press_78", | |
"rules":[ | |
{ | |
"description":"yep", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"1", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to":[ | |
{"key_code":"7"}, | |
{"key_code":"8"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"one_press_783", | |
"rules":[ | |
{ | |
"description":"yep", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"1" | |
}, | |
"to":[ | |
{"key_code":"7"}, | |
{"key_code":"8"}, | |
{"key_code":"3"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
This file contains 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":"say_caps_lock_status", | |
"rules":[ | |
{ | |
"description":"say_caps_lock_status", | |
"frontmost_application": { | |
"bundle_identifier": "com.blizzard.diablo3", | |
"file_path": "/Applications/Diablo III/Diablo III.app/Contents/MacOS/Diablo III" | |
}, | |
"manipulators":[ | |
{ | |
"from":{ | |
"key_code":"caps_lock", | |
"modifiers": { | |
"optional": ["caps_lock"] | |
} | |
}, | |
"to_after_key_up":[ | |
{"key_code":"caps_lock"}, | |
{"shell_command": "say -v Daniel 'Caps lock on'"} | |
], | |
"type":"basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment