Expand description
[microsoft.com]
XUSER_*
Constants§
- INDEX_
ANY - [
microsoft.com] XUSER_INDEX_ANY
Pass toget_keystroketo getKeystrokes for any/all connected gamepads rather than a specific gamepad.
(The gamepad which send the keystroke can be determined withKeystroke::user_index.)
- MAX_
COUNT - [
microsoft.com] XUSER_MAX_COUNT (4) — The maximum number of unique gamepads/users supported by XInput.
All user indicies will be less than this (excluding the magic value,xuser::INDEX_ANY.)
Functions§
- iter
- Iterator over valid user indicies (
0 .. xuser::MAX_COUNT)