diff --git a/Change_button4,5_to_back,forward.json b/Change_button4,5_to_back,forward.json new file mode 100644 index 0000000..f8c3ab9 --- /dev/null +++ b/Change_button4,5_to_back,forward.json @@ -0,0 +1,81 @@ +{ + "description": "Change button4,5 to back,forward (rev 1)", + "manipulators": [ + { + "conditions": [ + { + "keyboard_types": ["ansi", "iso"], + "type": "keyboard_type_if" + } + ], + "from": { + "modifiers": { "optional": ["caps_lock"] }, + "pointing_button": "button4" + }, + "to": [ + { + "key_code": "open_bracket", + "modifiers": "left_command" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "keyboard_types": ["jis"], + "type": "keyboard_type_if" + } + ], + "from": { + "modifiers": { "optional": ["caps_lock"] }, + "pointing_button": "button4" + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": "left_command" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "keyboard_types": ["ansi", "iso"], + "type": "keyboard_type_if" + } + ], + "from": { + "modifiers": { "optional": ["caps_lock"] }, + "pointing_button": "button5" + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": "left_command" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "keyboard_types": ["jis"], + "type": "keyboard_type_if" + } + ], + "from": { + "modifiers": { "optional": ["caps_lock"] }, + "pointing_button": "button5" + }, + "to": [ + { + "key_code": "backslash", + "modifiers": "left_command" + } + ], + "type": "basic" + } + ] +} \ No newline at end of file