|
ReXGlue SDK
|
Pad state, capabilities and identity. More...
Go to the source code of this file.
Classes | |
| struct | rex::hid::PadState |
| struct | rex::hid::PadVibration |
| struct | rex::hid::PadCapabilities |
| struct | rex::hid::PadKeystroke |
| struct | rex::hid::PadInfo |
| struct | rex::hid::PadDeviceID |
| struct | rex::hid::PadIdentity |
| struct | rex::hid::PadDevice |
Namespaces | |
| namespace | rex |
Enumerations | |
| enum | rex::hid::PadButton : u16 { kPadDPadUp = 0x0001 , kPadDPadDown = 0x0002 , kPadDPadLeft = 0x0004 , kPadDPadRight = 0x0008 , kPadStart = 0x0010 , kPadBack = 0x0020 , rex::hid::kPadLeftThumb = 0x0040 , rex::hid::kPadRightThumb = 0x0080 , kPadLeftShoulder = 0x0100 , kPadRightShoulder = 0x0200 , kPadGuide = 0x0400 , kPadA = 0x1000 , kPadB = 0x2000 , kPadX = 0x4000 , kPadY = 0x8000 } |
| enum class | rex::hid::KeystrokeSource : u8 { kNone = 0x00 , kPad = 0x01 , kKeyboard = 0x02 } |
| enum class | rex::hid::PadType : u8 { kUnknown , kStandard , kX360 , kXOne , kPS3 , kPS4 , kPS5 , kSwitchPro , kSwitchJoyCon } |
Functions | |
| template<FlagsEnum E> | |
| constexpr bool | rex::hid::HasFlags (E value, E flags) |
| template<FlagsEnum E> | |
| constexpr E | rex::hid::operator| (E lhs, E rhs) |
| template<FlagsEnum E> | |
| constexpr E | rex::hid::operator& (E lhs, E rhs) |
| template<FlagsEnum E> | |
| constexpr E | rex::hid::operator^ (E lhs, E rhs) |
| template<FlagsEnum E> | |
| constexpr E | rex::hid::operator~ (E value) |
| template<FlagsEnum E> | |
| constexpr E & | rex::hid::operator|= (E &lhs, E rhs) |
| template<FlagsEnum E> | |
| constexpr E & | rex::hid::operator&= (E &lhs, E rhs) |
| template<FlagsEnum E> | |
| constexpr E & | rex::hid::operator^= (E &lhs, E rhs) |
Variables | |
| constexpr PadDeviceID | rex::hid::kInvalidPadDeviceID {} |
Pad state, capabilities and identity.
|
strong |
| enum rex::hid::PadButton : u16 |
|
strong |
The pad family, for button glyphs.
|
nodiscardconstexpr |
Reports whether a set holds every flag of another set.
|
constexpr |
Keeps only the flags of a set that another set holds, in place.
|
constexpr |
Toggles flags of a set in place.
|
constexpr |
Adds flags to a set in place.
|
inlineconstexpr |
The id that names no pad.