phina.js.d.ts
Preparing search index...
phina
input
GamepadManager
Interface GamepadManager
interface
GamepadManager
{
gamepads
:
{
[
key
:
number
]:
phina
.
input
.
Gamepad
}
;
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
clear
(
type
:
string
)
:
this
;
clearEventListener
(
type
:
string
)
:
this
;
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
;
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
;
dispose
(
index
:
number
)
:
void
;
fire
(
e
:
{
type
:
string
}
)
:
this
;
flare
(
type
:
string
,
param
?:
object
)
:
this
;
get
(
index
:
number
)
:
phina
.
input
.
Gamepad
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
isConnected
(
index
:
number
)
:
boolean
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
update
()
:
void
;
}
Hierarchy (
View Summary
)
phina
.
util
.
EventDispatcher
GamepadManager
Index
Properties
gamepads
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
dispose
fire
flare
get
has
has
Event
Listener
is
Connected
off
on
one
remove
Event
Listener
update
Properties
gamepads
gamepads
:
{
[
key
:
number
]:
phina
.
input
.
Gamepad
}
Methods
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
clear
clear
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
clear
Event
Listener
clearEventListener
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
dispatch
Event
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
dispatch
Event
By
Type
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
Parameters
type
:
string
param
:
object
Returns
this
dispose
dispose
(
index
:
number
)
:
void
Parameters
index
:
number
Returns
void
fire
fire
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
flare
flare
(
type
:
string
,
param
?:
object
)
:
this
Parameters
type
:
string
Optional
param
:
object
Returns
this
get
get
(
index
:
number
)
:
phina
.
input
.
Gamepad
Parameters
index
:
number
Returns
phina
.
input
.
Gamepad
has
has
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Connected
isConnected
(
index
:
number
)
:
boolean
Parameters
index
:
number
Returns
boolean
off
off
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
on
on
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
one
one
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
update
update
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
gamepads
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
dispose
fire
flare
get
has
has
Event
Listener
is
Connected
off
on
one
remove
Event
Listener
update
phina.js.d.ts
Loading...