-
Notifications
You must be signed in to change notification settings - Fork 0
/
mouse.talon
114 lines (111 loc) · 3.09 KB
/
mouse.talon
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
control mouse: user.mouse_toggle_control_mouse()
zoom mouse: user.mouse_toggle_zoom_mouse()
camera overlay: user.mouse_toggle_camera_overlay()
run calibration: user.mouse_calibrate()
touch:
mouse_click(0)
# close the mouse grid if open
user.grid_close()
# End any open drags
# Touch automatically ends left drags so this is for right drags specifically
user.mouse_drag_end()
righty:
mouse_click(1)
# close the mouse grid if open
user.grid_close()
midclick:
mouse_click(2)
# close the mouse grid
user.grid_close()
#see keys.py for modifiers.
#defaults
#command
#control
#option = alt
#shift
#super = windows key
<user.modifiers> touch:
key("{modifiers}:down")
mouse_click(0)
key("{modifiers}:up")
# close the mouse grid
user.grid_close()
<user.modifiers> righty:
key("{modifiers}:down")
mouse_click(1)
key("{modifiers}:up")
# close the mouse grid
user.grid_close()
(dubclick | duke):
mouse_click()
mouse_click()
# close the mouse grid
user.grid_close()
(tripclick | tripple click):
mouse_click()
mouse_click()
mouse_click()
# close the mouse grid
user.grid_close()
left drag | drag:
user.mouse_drag(0)
# close the mouse grid
user.grid_close()
right drag | righty drag:
user.mouse_drag(1)
# close the mouse grid
user.grid_close()
end drag | drag end:
user.mouse_drag_end()
wheel down: user.mouse_scroll_down()
wheel down here:
user.mouse_move_center_active_window()
user.mouse_scroll_down()
wheel tiny [down]: user.mouse_scroll_down(0.2)
wheel tiny [down] here:
user.mouse_move_center_active_window()
user.mouse_scroll_down(0.2)
wheel downer: user.mouse_scroll_down_continuous()
wheel downer here:
user.mouse_move_center_active_window()
user.mouse_scroll_down_continuous()
wheel up: user.mouse_scroll_up()
wheel up here:
user.mouse_move_center_active_window()
user.mouse_scroll_up()
wheel tiny up: user.mouse_scroll_up(0.2)
wheel tiny up here:
user.mouse_move_center_active_window()
user.mouse_scroll_up(0.2)
wheel upper: user.mouse_scroll_up_continuous()
wheel upper here:
user.mouse_move_center_active_window()
user.mouse_scroll_up_continuous()
wheel gaze: user.mouse_gaze_scroll()
wheel gaze here:
user.mouse_move_center_active_window()
user.mouse_gaze_scroll()
wheel stop: user.mouse_scroll_stop()
wheel stop here:
user.mouse_move_center_active_window()
user.mouse_scroll_stop()
wheel left: user.mouse_scroll_left()
wheel left here:
user.mouse_move_center_active_window()
user.mouse_scroll_left()
wheel tiny left: user.mouse_scroll_left(0.5)
wheel tiny left here:
user.mouse_move_center_active_window()
user.mouse_scroll_left(0.5)
wheel right: user.mouse_scroll_right()
wheel right here:
user.mouse_move_center_active_window()
user.mouse_scroll_right()
wheel tiny right: user.mouse_scroll_right(0.5)
wheel tiny right here:
user.mouse_move_center_active_window()
user.mouse_scroll_right(0.5)
copy mouse position: user.copy_mouse_position()
curse no:
# Command added 2021-12-13, can remove after 2022-06-01
app.notify("Please activate the user.mouse_cursor_commands_enable tag to enable this command")