Back
GetJoystickName
Hello World
Returns the name of a conected joystick.
app.GetJoystickName(
id
) →
String
See Also:
GetJoystickState
Example - Show Joystick name on id 0
function
OnStart
(
)
{
name
=
app
.
GetJoystickName
(
0
)
;
app
.
Alert
(
name
)
;
}
Copy
Copy All
Run
Number:
integer