Expand description
Structs§
- Error
- An error returned by some XInput function (or wrapper thereof.)
- Kind
- ≈
winresult::ErrorCodecorresponding towinresult::ERROR::*, but 32-bit, and oriented around XInput error codes.
Constants§
- BAD_
ARGUMENTS - Invalid
user_indexorFlagpassed to an XInput function. - BUFFER_
TOO_ SMALL - XAudio2 device IDs are too large (> 4096 characters) for
get_audio_device_idsto read onto the stack. - CO_
E_ NOTINITIALIZED - COM not initialized. Only observed being returned from
xinputuap.dll. - DEVICE_
NOT_ CONNECTED - No gamepad is connected for
user_index. N.B. this can be unreliable forget_audio_device_ids. - INVALID_
FUNCTION - A corresponding XInput function was missing, or XInput itself couldn’t be loaded.