Search
Preparing search index...
The search index is not available
sfml.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
sfml.js
Joystick
Namespace Joystick
Index
Enumerations
Axis
Type aliases
Axis
Str
Identification
Unsigned
Integer
Functions
get
Axis
Position
get
Button
Count
get
Identification
has
Axis
is
Button
Pressed
is
Connected
update
Type aliases
Axis
Str
Axis
Str
:
keyof
typeof
Axis
Identification
Identification
:
{
name
:
string
;
productId
:
number
;
vendorId
:
number
}
Type declaration
name
:
string
product
Id
:
number
vendor
Id
:
number
Unsigned
Integer
Unsigned
Integer
:
number
Functions
get
Axis
Position
get
Axis
Position
(
joystickId
:
UnsignedInteger
, axis
:
Axis
)
:
number
Parameters
joystickId:
UnsignedInteger
axis:
Axis
Returns
number
get
Button
Count
get
Button
Count
(
joystickId
:
UnsignedInteger
)
:
number
Parameters
joystickId:
UnsignedInteger
Returns
number
get
Identification
get
Identification
(
joystickId
:
UnsignedInteger
)
:
Identification
Parameters
joystickId:
UnsignedInteger
Returns
Identification
has
Axis
has
Axis
(
joystickId
:
UnsignedInteger
, axis
:
Axis
)
:
boolean
Parameters
joystickId:
UnsignedInteger
axis:
Axis
Returns
boolean
is
Button
Pressed
is
Button
Pressed
(
joystickId
:
UnsignedInteger
, button
:
UnsignedInteger
)
:
boolean
Parameters
joystickId:
UnsignedInteger
button:
UnsignedInteger
Returns
boolean
is
Connected
is
Connected
(
joystickId
:
UnsignedInteger
)
:
boolean
Parameters
joystickId:
UnsignedInteger
Returns
boolean
update
update
(
)
:
void
Returns
void
Exports
Joystick
Keyboard
Mouse
Music
Render
Window
Sensor
Sound
Text
Time
Touch
Vertex
Array
Axis
Axis
Str
Identification
Unsigned
Integer
get
Axis
Position
get
Button
Count
get
Identification
has
Axis
is
Button
Pressed
is
Connected
update
Generated using
TypeDoc