Created
January 27, 2025 12:20
-
-
Save nozma/e6b6f59a18a2e7100eaf3f6d1f5c69c2 to your computer and use it in GitHub Desktop.
SlimBlade Pro用のKarabiner-Elements Settings
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
{ | |
"description": "SlimBlade Pro", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button3", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button4" | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "press_button4", | |
"value": 1 | |
} | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "press_button4", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_alone": [{ "key_code": "vk_mission_control" }], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button4", | |
"type": "variable_if", | |
"value": 1 | |
}, | |
{ | |
"keyboard_types": ["jis"], | |
"type": "keyboard_type_if" | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button3" | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button4", | |
"type": "variable_if", | |
"value": 1 | |
}, | |
{ | |
"keyboard_types": ["ansi", "iso"], | |
"type": "keyboard_type_if" | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button3" | |
}, | |
"to": [ | |
{ | |
"key_code": "open_bracket", | |
"modifiers": ["left_command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button4", | |
"type": "variable_if", | |
"value": 0 | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button3" | |
}, | |
"to": [ | |
{ | |
"set_variable": { | |
"name": "press_button3", | |
"value": 1 | |
} | |
} | |
], | |
"to_after_key_up": [ | |
{ | |
"set_variable": { | |
"name": "press_button3", | |
"value": 0 | |
} | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "i", | |
"modifiers": ["control", "command"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button3", | |
"type": "variable_if", | |
"value": 1 | |
}, | |
{ | |
"keyboard_types": ["ansi", "iso"], | |
"type": "keyboard_type_if" | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button4" | |
}, | |
"to": [ | |
{ | |
"key_code": "close_bracket", | |
"modifiers": "left_command" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"name": "press_button3", | |
"type": "variable_if", | |
"value": 1 | |
}, | |
{ | |
"keyboard_types": ["jis"], | |
"type": "keyboard_type_if" | |
} | |
], | |
"from": { | |
"modifiers": { "optional": ["any"] }, | |
"pointing_button": "button4" | |
}, | |
"to": [ | |
{ | |
"key_code": "backslash", | |
"modifiers": "left_command" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"modifiers": { "optional": ["shift"] }, | |
"simultaneous": [ | |
{ "pointing_button": "button1" }, | |
{ "pointing_button": "button2" } | |
] | |
}, | |
"to": [{ "pointing_button": "button3" }], | |
"type": "basic" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment