diff --git a/.config/karabiner/mouse-keys-ambidextrous-yorune.json b/.config/karabiner/mouse-keys-ambidextrous-yorune.json new file mode 100644 index 0000000..c39e9af --- /dev/null +++ b/.config/karabiner/mouse-keys-ambidextrous-yorune.json @@ -0,0 +1,206 @@ +{ + "title": "Mouse keys ambidextrous - yorune", + "rules": [ + { + "description": "Mouse keys Ambidextrous", + "manipulators": [ + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["fn"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "vertical_wheel": -64 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["fn"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "vertical_wheel": 64 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["fn"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "horizontal_wheel": 64 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["fn"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "horizontal_wheel": -64 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "u", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "pointing_button": "button1" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "o", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "pointing_button": "button2" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "x": -1018 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "y": 1018 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "y": -1018 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "mouse_key": { + "x": 1018 + } + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "pointing_button": "button1" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "e", + "modifiers": { + "mandatory": ["left_control", "left_shift"], + "optional": ["any"] + } + }, + "to": [ + { + "pointing_button": "button2" + } + ], + "type": "basic" + } + ] + } + ] +}