MSSW Gamepad¶
Description¶
Used for interfacing to a Microsoft SideWinder gamepad.
Button state variables are set to 1 if the button is depressed, 0 if released.
Signature¶
iodevice/sidewinder_gamepad
Required Parameters¶
data_type¶
Recommended: | event |
---|---|
Options: | event , continuous |
If event
, variables are updated only when the corresponding button’s state changes. If continuous
, variables are updated every data_interval period of time, even if the corresponding button’s state has not changed.
Optional Parameters¶
up¶
Variable for D-pad up
down¶
Variable for D-pad down
left¶
Variable for D-pad left
right¶
Variable for D-pad right
trigger_right¶
Variable for right trigger
trigger_left¶
Variable for left trigger
a¶
Variable for A button
b¶
Variable for B button
x¶
Variable for X button
y¶
Variable for Y button
alt¶
Alternative device to use if this one fails to initialize (e.g. because the required hardware is not available). If #allowAltFailover
is set to 0 or false, this parameter is ignored.