|
ReXGlue SDK
|
#include <rex/hid/pad.h>
Public Attributes | |
| i32 | xinput_slot = -1 |
| u16 | vendor = 0 |
| u16 | product = 0 |
| std::string | serial |
Identifies the physical pad, so one pad seen by two drivers is used once. Devices match when both have an XInput slot and the slots match, or both have a serial and vendor, product and serial match.
| u16 rex::hid::PadIdentity::product = 0 |
USB product, 0 when unknown.
| std::string rex::hid::PadIdentity::serial |
Serial number, empty when unknown.
| u16 rex::hid::PadIdentity::vendor = 0 |
USB vendor, 0 when unknown.
| i32 rex::hid::PadIdentity::xinput_slot = -1 |
The XInput user slot, -1 when not an XInput pad.