Skip to content

Instantly share code, notes, and snippets.

@sourcecodemage
Created May 7, 2021 13:15
Show Gist options
  • Save sourcecodemage/9b1e54a47bbafe82e6ce5374519b87fb to your computer and use it in GitHub Desktop.
Save sourcecodemage/9b1e54a47bbafe82e6ce5374519b87fb to your computer and use it in GitHub Desktop.
Karabiner Elements Hyperkey Config
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"manipulators": [
{
"description": "Change caps_lock to command+control+option+shift.",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 610,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 597,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": true,
"product_id": 45915,
"vendor_id": 1133
},
"ignore": false,
"manipulate_caps_lock_led": false,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"key_code": "vk_consumer_brightness_down"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"key_code": "vk_consumer_brightness_up"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "vk_mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "vk_launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "vk_consumer_illumination_down"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "vk_consumer_illumination_up"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"key_code": "vk_consumer_previous"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"key_code": "vk_consumer_play"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"key_code": "vk_consumer_next"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"key_code": "volume_down"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"key_code": "volume_up"
}
]
}
],
"name": "Default profile",
"one_to_many_mappings": {},
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"standalone_keys": {},
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"keyboard_type": "ansi",
"mouse_key_xy_scale": 100,
"standalone_keys_delay_milliseconds": 200
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment