
1、Mouse 4: 单独点击 = Ctrl+左箭头;按住 + 滚轮 = 左右滚动页面
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
{ "description": "Mouse 4: 单独点击 = Ctrl+左箭头;按住 + 滚轮 = 左右滚动页面", "manipulators": [ { "from": { "pointing_button": "button4" }, "to": [ { "set_variable": { "key_up_value": 0, "name": "button4_held", "value": 1 } } ], "to_if_alone": [ { "key_code": "left_arrow", "modifiers": ["left_control"], "repeat": false } ], "type": "basic" }, { "conditions": [ { "name": "button4_held", "type": "variable_if", "value": 1 } ], "swap": ["wheels"], "type": "mouse_basic" } ] } |
2、Mouse 5: 单独点击 = Ctrl+右箭头
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
{ "description": "Mouse 5: 单独点击 = Ctrl+右箭头", "manipulators": [ { "from": { "pointing_button": "button5" }, "to": [ { "key_code": "right_arrow", "modifiers": ["left_control"], "repeat": false } ], "type": "basic" } ] } |
3、Mou[……]