Type Definition chord2key::constants::AxisState [−][src]
type AxisState = i32;
Expand description
The type of value used by an axis during an axis event.
Axes represent their state using a unique code identifier (See RelAxisCode or AbsAxisCode), and an i32 value. The value represents the status of the axis.
A value given by a Relative Axis will represent the “change” experienced by the axis, while a value given by an Absolute Axis will represent the current state of the axis.