Skip to content

Instantly share code, notes, and snippets.

@univdev
Created October 25, 2022 12:35
Show Gist options
  • Save univdev/df71a099a151bcd3ad70d1333419af3b to your computer and use it in GitHub Desktop.
Save univdev/df71a099a151bcd3ad70d1333419af3b to your computer and use it in GitHub Desktop.
Happy Hacking Keyboard setting file
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": true,
"unsafe_ui": 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": [
{
"description": "Change right_command+hjkl to arrow keys",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
},
{
"description": "esc, power, delete forward",
"manipulators": [
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "escape"
}
],
"type": "basic"
},
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [
"left_shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "escape"
}
],
"type": "basic"
},
{
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "power"
}
],
"type": "basic"
},
{
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "delete_forward"
}
],
"type": "basic"
}
]
},
{
"description": "Change right_command + tab to caps lock",
"manipulators": [
{
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "caps_lock"
}
],
"type": "basic"
}
]
},
{
"description": "function",
"manipulators": [
{
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f1"
}
],
"type": "basic"
},
{
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f2"
}
],
"type": "basic"
},
{
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f3"
}
],
"type": "basic"
},
{
"from": {
"key_code": "4",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f4"
}
],
"type": "basic"
},
{
"from": {
"key_code": "5",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f5"
}
],
"type": "basic"
},
{
"from": {
"key_code": "6",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f6"
}
],
"type": "basic"
},
{
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f7"
}
],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f8"
}
],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f9"
}
],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f10"
}
],
"type": "basic"
},
{
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f11"
}
],
"type": "basic"
},
{
"from": {
"key_code": "equal_sign",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f12"
}
],
"type": "basic"
}
]
},
{
"description": "Home End PageUp PageDown",
"manipulators": [
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "home"
}
],
"type": "basic"
},
{
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "end"
}
],
"type": "basic"
},
{
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "page_up"
}
],
"type": "basic"
},
{
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "page_down"
}
],
"type": "basic"
}
]
},
{
"description": "Mouse Keys Mode v4 (rev 1)",
"manipulators": [
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
},
{
"name": "mouse_keys_mode_v4_scroll",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "j",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"vertical_wheel": 32
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "j",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"y": 1536
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "j"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"y": 1536
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
},
{
"name": "mouse_keys_mode_v4_scroll",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "k",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"vertical_wheel": -32
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "k",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"y": -1536
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "k"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"y": -1536
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
},
{
"name": "mouse_keys_mode_v4_scroll",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "h",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"horizontal_wheel": 32
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "h",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"x": -1536
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "h"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"x": -1536
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
},
{
"name": "mouse_keys_mode_v4_scroll",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "l",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"horizontal_wheel": -32
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "l",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"x": 1536
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "l"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"x": 1536
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "v",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"pointing_button": "button1"
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "v"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"pointing_button": "button1"
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "b",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"pointing_button": "button3"
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "b"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"pointing_button": "button3"
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "n",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"pointing_button": "button2"
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "n"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"pointing_button": "button2"
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "s",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 1
}
}
],
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "s"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 1
}
}
],
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "f",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"speed_multiplier": 2.0
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "f"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"speed_multiplier": 2.0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "mouse_keys_mode_v4",
"type": "variable_if",
"value": 1
}
],
"from": {
"key_code": "g",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"mouse_key": {
"speed_multiplier": 0.5
}
}
],
"type": "basic"
},
{
"from": {
"modifiers": {
"optional": [
"any"
]
},
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "g"
}
],
"simultaneous_options": {
"key_down_order": "strict",
"key_up_order": "strict_inverse",
"to_after_key_up": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 0
}
},
{
"set_variable": {
"name": "mouse_keys_mode_v4_scroll",
"value": 0
}
}
]
}
},
"parameters": {
"basic.simultaneous_threshold_milliseconds": 500
},
"to": [
{
"set_variable": {
"name": "mouse_keys_mode_v4",
"value": 1
}
},
{
"mouse_key": {
"speed_multiplier": 0.5
}
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": true,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 256,
"vendor_id": 2131
},
"ignore": false,
"manipulate_caps_lock_led": false,
"simple_modifications": [
{
"from": {
"key_code": "escape"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
},
{
"from": {
"key_code": "f20"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "grave_accent_and_tilde"
},
"to": [
{
"key_code": "escape"
}
]
},
{
"from": {
"key_code": "keypad_asterisk"
},
"to": [
{
"consumer_key_code": "scan_previous_track"
}
]
},
{
"from": {
"key_code": "keypad_enter"
},
"to": [
{
"pointing_button": "button2"
}
]
},
{
"from": {
"key_code": "keypad_slash"
},
"to": [
{
"consumer_key_code": "scan_next_track"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 835,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 33,
"vendor_id": 1278
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "illumination_increment"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "hhkb",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": false,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
},
{
"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": [
{
"description": "Change right_option + p/l/;/' to arrow keys",
"manipulators": [
{
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "semicolon",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "quote",
"modifiers": {
"mandatory": [
"right_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 615,
"vendor_id": 76
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [
{
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_or_backspace"
}
]
},
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_control"
}
]
},
{
"from": {
"key_code": "delete_or_backspace"
},
"to": [
{
"key_code": "backslash"
}
]
},
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "caps_lock"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 615,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [
{
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_or_backspace"
}
]
},
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_control"
}
]
},
{
"from": {
"key_code": "delete_or_backspace"
},
"to": [
{
"key_code": "backslash"
}
]
},
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "caps_lock"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 51966,
"vendor_id": 65261
},
"ignore": false,
"manipulate_caps_lock_led": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"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": [
{
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_or_backspace"
}
]
},
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_control"
}
]
},
{
"from": {
"key_code": "delete_or_backspace"
},
"to": [
{
"key_code": "backslash"
}
]
},
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "caps_lock"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 835,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [
{
"from": {
"key_code": "backslash"
},
"to": [
{
"key_code": "delete_or_backspace"
}
]
},
{
"from": {
"key_code": "caps_lock"
},
"to": [
{
"key_code": "left_control"
}
]
},
{
"from": {
"key_code": "delete_or_backspace"
},
"to": [
{
"key_code": "backslash"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 33,
"vendor_id": 1278
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [
{
"from": {
"key_code": "left_command"
},
"to": [
{
"key_code": "left_option"
}
]
},
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "caps_lock"
}
]
},
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "left_command"
}
]
},
{
"from": {
"key_code": "right_command"
},
"to": [
{
"key_code": "left_control"
}
]
}
],
"treat_as_built_in_keyboard": true
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 834,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 834,
"vendor_id": 1452
},
"ignore": true,
"manipulate_caps_lock_led": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 613,
"vendor_id": 76
},
"ignore": true,
"manipulate_caps_lock_led": false,
"simple_modifications": [],
"treat_as_built_in_keyboard": false
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "al_terminal_lock_or_screensaver"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"key_code": "mission_control"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"key_code": "launchpad"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "illumination_decrement"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "illumination_increment"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "m",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment