phina.js.d.ts
Preparing search index...
phina
input
Gamepad
Interface Gamepad
interface
Gamepad
{
buttons
:
GamepadButton
[]
;
connected
:
boolean
;
id
:
number
|
null
;
index
:
number
;
mapping
:
string
|
null
;
sticks
:
phina
.
geom
.
Vector2
[]
;
timestamp
:
number
|
null
;
getKey
(
button
:
string
|
number
)
:
boolean
;
getKeyAngle
()
:
number
|
void
;
getKeyDirection
()
:
phina
.
geom
.
Vector2
;
getKeyDown
(
button
:
string
|
number
)
:
boolean
;
getKeyUp
(
button
:
string
|
number
)
:
boolean
;
getStickAngle
(
stickId
:
number
)
:
number
|
void
;
}
Index
Properties
buttons
connected
id
index
mapping
sticks
timestamp
Methods
get
Key
get
Key
Angle
get
Key
Direction
get
Key
Down
get
Key
Up
get
Stick
Angle
Properties
buttons
buttons
:
GamepadButton
[]
connected
connected
:
boolean
id
id
:
number
|
null
index
index
:
number
mapping
mapping
:
string
|
null
sticks
sticks
:
phina
.
geom
.
Vector2
[]
timestamp
timestamp
:
number
|
null
Methods
get
Key
getKey
(
button
:
string
|
number
)
:
boolean
Parameters
button
:
string
|
number
Returns
boolean
get
Key
Angle
getKeyAngle
()
:
number
|
void
Returns
number
|
void
get
Key
Direction
getKeyDirection
()
:
phina
.
geom
.
Vector2
Returns
phina
.
geom
.
Vector2
get
Key
Down
getKeyDown
(
button
:
string
|
number
)
:
boolean
Parameters
button
:
string
|
number
Returns
boolean
get
Key
Up
getKeyUp
(
button
:
string
|
number
)
:
boolean
Parameters
button
:
string
|
number
Returns
boolean
get
Stick
Angle
getStickAngle
(
stickId
:
number
)
:
number
|
void
Parameters
stickId
:
number
Returns
number
|
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
buttons
connected
id
index
mapping
sticks
timestamp
Methods
get
Key
get
Key
Angle
get
Key
Direction
get
Key
Down
get
Key
Up
get
Stick
Angle
phina.js.d.ts
Loading...