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
//! Semantic action identifiers for the viewport input system.
/// Semantic actions that can be triggered by user input.
///
/// Actions are decoupled from their physical triggers (keys/mouse buttons),
/// so bindings can be remapped and the same action can be reached through
/// different triggers depending on context. The named variants are the ones
/// the library's controllers act on, plus [`Confirm`](Action::Confirm) and
/// [`Cancel`](Action::Cancel) for any modal tool; an application or a tool crate
/// binds its own actions to [`Action::Custom`].