forked from tararoys/dense-mouse-grid
-
Notifications
You must be signed in to change notification settings - Fork 3
/
flex_mouse_grid.talon
63 lines (55 loc) · 2.83 KB
/
flex_mouse_grid.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
-
# Grid
flex grid: user.flex_grid_place_window()
flex grid screen: user.flex_grid_activate()
flex grid screen <number>: user.flex_grid_select_screen(number)
[flex] grid close: user.flex_grid_deactivate()
# Points
^points$: user.flex_grid_points_toggle(1)
^points close$: user.flex_grid_points_toggle(0)
^point <user.word> [<number>]$: user.flex_grid_go_to_point(word, number or 1, -1)
^point <user.word> next$: user.flex_grid_go_to_point_relative(word, 1)
^point <user.word> last$: user.flex_grid_go_to_point_relative(word, -1)
^point click <user.word> [<number>]$: user.flex_grid_go_to_point(word, number or 1, 0)
^point righty <user.word> [<number>]$: user.flex_grid_go_to_point(word, number or 1, 1)
# Points mapping
remap:
user.flex_grid_place_window()
user.flex_grid_points_toggle(1)
map <user.word>: user.flex_grid_map_point_here(word)
map <user.word> <user.letter>+: user.flex_grid_map_points_by_letter(word, letter_list)
map <user.word> box <number> [mark <number>]*: user.flex_grid_map_points_by_box(word, number_list)
map <user.word> box <number> past <number>: user.flex_grid_map_points_by_box_range(word, number_list)
map <number> points <user.word> box <number> past <number>:
user.flex_grid_map_points_by_location_range(word, number_1, number_2, number_3)
unmap <user.word>: user.flex_grid_unmap_point(word)
unmap everything: user.flex_grid_unmap_point("")
# Boxes
boxes: user.flex_grid_find_boxes()
box <number>: user.flex_grid_go_to_box(number or 1, -1)
box click <number>: user.flex_grid_go_to_box(number or 1, 0)
box righty <number>: user.flex_grid_go_to_box(number or 1, 1)
boxes close: user.flex_grid_boxes_toggle(0)
# box next
# box click next
# box previous
# box click previous
# Box detection configuration
boxes lock: user.flex_grid_box_config_lock(1)
boxes unlock: user.flex_grid_box_config_lock(0)
boxes upper more: user.flex_grid_box_config_change("box_size_upper", 3)
boxes upper more bump: user.flex_grid_box_config_change("box_size_upper", 1)
boxes upper less: user.flex_grid_box_config_change("box_size_upper", -3)
boxes upper less bump: user.flex_grid_box_config_change("box_size_upper", -1)
boxes lower more: user.flex_grid_box_config_change("box_size_lower", 3)
boxes lower more bump: user.flex_grid_box_config_change("box_size_lower", 1)
boxes lower less: user.flex_grid_box_config_change("box_size_lower", -3)
boxes lower less bump: user.flex_grid_box_config_change("box_size_lower", -1)
boxes threshold more: user.flex_grid_box_config_change("threshold", 10)
boxes threshold more bump: user.flex_grid_box_config_change("threshold", 1)
boxes threshold less: user.flex_grid_box_config_change("threshold", -10)
boxes threshold less bump: user.flex_grid_box_config_change("threshold", -1)
# Box detection helpers
boxes threshold: user.flex_grid_boxes_threshold_view_toggle()
# Flex grid informational UI
flex info: user.flex_grid_info_toggle()