From 96b3c7c0a2f45fe804b48fefe3e2c1ce004b0925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 3 Sep 2022 23:25:25 +0200 Subject: [PATCH] Added the mouse ambidextrous --- .../mouse-keys-ambidextrous-yorune.json | 206 ++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 .config/karabiner/mouse-keys-ambidextrous-yorune.json 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" + } + ] + } + ] +}