The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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
)
Meta
Source
See Implementation
arsd
joystick
functions
closeJoysticks
enableJoystickInput
getJoystickUpdate
readJoystickEvents
structs
JoystickUpdate
Returns the number of players actually connected
The controller ID