Created
May 26, 2024 14:29
-
-
Save alotofnoodles/037b2b5e486e0670163b54ce554cc362 to your computer and use it in GitHub Desktop.
karabiner ansi to jis
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
| { | |
| "global": { | |
| "ask_for_confirmation_before_quitting": true, | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false, | |
| "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": "\"", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "2", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "quote", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "&", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "6", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "7", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "'", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "7", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "quote" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "(", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "8", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "9", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": ")", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "9", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "0", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "(null)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "0", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "=", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "hyphen", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "equal_sign" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "~", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "equal_sign", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "^", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "equal_sign", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "6", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "|", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "international3", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "backslash", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "\\", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "international3", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "backslash" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "`", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "open_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "@", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "open_bracket", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "2", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "{", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "close_bracket", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "[", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "close_bracket", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "open_bracket" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "}", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "non_us_pound", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "]", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "non_us_pound", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "+", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "equal_sign", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "*", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "quote", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "8", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": ":", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "quote", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "semicolon", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "_", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "keyboard_types": [ | |
| "jis" | |
| ], | |
| "type": "keyboard_type_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "international1", | |
| "modifiers": { | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "hyphen", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 835, | |
| "vendor_id": 1452 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 835, | |
| "vendor_id": 1452 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": false, | |
| "is_pointing_device": true, | |
| "product_id": 613, | |
| "vendor_id": 76 | |
| }, | |
| "ignore": true, | |
| "manipulate_caps_lock_led": false, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "simple_modifications": [], | |
| "treat_as_built_in_keyboard": false | |
| }, | |
| { | |
| "disable_built_in_keyboard_if_exists": false, | |
| "fn_function_keys": [], | |
| "game_pad_swap_sticks": false, | |
| "identifiers": { | |
| "is_game_pad": false, | |
| "is_keyboard": true, | |
| "is_pointing_device": false, | |
| "product_id": 337, | |
| "vendor_id": 2131 | |
| }, | |
| "ignore": false, | |
| "manipulate_caps_lock_led": true, | |
| "mouse_flip_horizontal_wheel": false, | |
| "mouse_flip_vertical_wheel": false, | |
| "mouse_flip_x": false, | |
| "mouse_flip_y": false, | |
| "mouse_swap_wheels": false, | |
| "mouse_swap_xy": false, | |
| "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": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "mission_control" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f4" | |
| }, | |
| "to": [ | |
| { | |
| "apple_vendor_keyboard_key_code": "spotlight" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f5" | |
| }, | |
| "to": [ | |
| { | |
| "consumer_key_code": "dictation" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "f6" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f6" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "fast_forward" | |
| } | |
| ] | |
| }, | |
| { | |
| "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": "Default profile", | |
| "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