-
Notifications
You must be signed in to change notification settings - Fork 849
Expand file tree
/
Copy pathmouse.talon
More file actions
130 lines (127 loc) · 3.83 KB
/
mouse.talon
File metadata and controls
130 lines (127 loc) · 3.83 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
control mouse: tracking.control_toggle()
control off: user.mouse_sleep()
zoom mouse: tracking.control_zoom_toggle()
camera overlay: tracking.control_debug_toggle()
run calibration: tracking.calibrate()
touch:
# close zoom if open
tracking.zoom_cancel()
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:
# close zoom if open
tracking.zoom_cancel()
mouse_click(1)
# close the mouse grid if open
user.grid_close()
mid click:
# close zoom if open
tracking.zoom_cancel()
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:
# close zoom if open
tracking.zoom_cancel()
key("{modifiers}:down")
mouse_click(0)
key("{modifiers}:up")
# close the mouse grid
user.grid_close()
<user.modifiers> righty:
# close zoom if open
tracking.zoom_cancel()
key("{modifiers}:down")
mouse_click(1)
key("{modifiers}:up")
# close the mouse grid
user.grid_close()
dub click | duke:
# close zoom if open
tracking.zoom_cancel()
mouse_click()
mouse_click()
# close the mouse grid
user.grid_close()
trip click | trip lick:
# close zoom if open
tracking.zoom_cancel()
mouse_click()
mouse_click()
mouse_click()
# close the mouse grid
user.grid_close()
left drag | drag | drag start:
# close zoom if open
tracking.zoom_cancel()
user.mouse_drag(0)
# close the mouse grid
user.grid_close()
right drag | righty drag:
# close zoom if open
tracking.zoom_cancel()
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 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 gaze: user.mouse_gaze_scroll()
wheel gaze here:
user.mouse_move_center_active_window()
user.mouse_gaze_scroll()
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)
wheel {user.continuous_scrolling_direction}:
user.mouse_scroll_continuous(continuous_scrolling_direction)
wheel {user.continuous_scrolling_direction} here:
user.mouse_move_center_active_window()
user.mouse_scroll_continuous(continuous_scrolling_direction)
wheel {user.continuous_scrolling_direction} <number_small>:
user.mouse_scroll_continuous(continuous_scrolling_direction, number_small)
wheel {user.continuous_scrolling_direction} here <number_small>:
user.mouse_move_center_active_window()
user.mouse_scroll_continuous(continuous_scrolling_direction, number_small)
copy mouse position: user.copy_mouse_position()
# To scroll with a hiss sound, set mouse_enable_hiss_scroll to true in settings.talon
mouse hiss up: user.hiss_scroll_up()
mouse hiss down: user.hiss_scroll_down()