The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
enableJoystickInput
arsd
joystick
Returns the number of players actually connected
The controller ID
int
enableJoystickInput
(
int
player1ControllerId
= 0
,
int
player2ControllerId
= 1
,
int
player3ControllerId
= 2
,
int
player4ControllerId
= 3
)
arsd
joystick
functions
closeJoysticks
enableJoystickInput
getJoystickUpdate
readJoystickEvents
structs
JoystickUpdate
Suggestion Box / Bug Report
Returns the number of players actually connected
The controller ID