|
ReXGlue SDK
|
Public Member Functions | |
| constexpr bool | operator== (const InputSource &other) const =default |
Public Attributes | |
| InputSourceType | type = InputSourceType::kKey |
| u16 | code = 0 |
| KeyModifiers | modifiers = KeyModifiers::kNone |
| i8 | sign = 0 |
| u8 | axis_slot = 0 |
|
constexprdefault |
Compares two sources field by field.
| u8 rex::InputSource::axis_slot = 0 |
The 1 based key half of a stick row this input fills, 0 outside a stick row.
| u16 rex::InputSource::code = 0 |
A VirtualKey, PadInput or PadAxes by type, 0 for a wheel.
| KeyModifiers rex::InputSource::modifiers = KeyModifiers::kNone |
The modifiers held with a key or wheel input, ignored for pad inputs.
| i8 rex::InputSource::sign = 0 |
The wheel direction, 1 for up and -1 for down, 0 for other types.