ReXGlue SDK
Loading...
Searching...
No Matches
rex::hid::PadIdentity Struct Reference

#include <rex/hid/pad.h>

Public Attributes

i32 xinput_slot = -1
u16 vendor = 0
u16 product = 0
std::string serial

Detailed Description

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.

Member Data Documentation

◆ product

u16 rex::hid::PadIdentity::product = 0

USB product, 0 when unknown.

◆ serial

std::string rex::hid::PadIdentity::serial

Serial number, empty when unknown.

◆ vendor

u16 rex::hid::PadIdentity::vendor = 0

USB vendor, 0 when unknown.

◆ xinput_slot

i32 rex::hid::PadIdentity::xinput_slot = -1

The XInput user slot, -1 when not an XInput pad.


The documentation for this struct was generated from the following file: