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
//! Axes for handling input.
use VirtualKeyCode as KeyCode;
/// Two buttons responsible for opposite directions along specific axis.
/// Raw axis.
///
/// Usually you can get input from mouse using three axes:
/// - `id = 0` for moves along `X` axis.
/// - `id = 1` for moves along `Y` axis.
/// - `id = 2` for mouse wheel moves.
///
/// However, these `id`s depend on hardware and may vary on different machines.
/// Axis for left and right arrow keys.
pub const AXIS_LEFT_RIGHT: Key = Key ;
/// Axis for up and down arrow keys.
pub const AXIS_DOWN_UP: Key = Key ;