toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.event
/
GamePadConnectionEvent
Game
Pad
Connection
Event
data
class
GamePadConnectionEvent
(
var
type
:
GamePadConnectionEvent.Type
=
Type.CONNECTED
,
var
gamepad
:
Int
=
0
)
:
Event
,
TEvent
<
GamePadConnectionEvent
>
Members
Members & Extensions
Constructors
Game
Pad
Connection
Event
Link copied to clipboard
constructor
(
type
:
GamePadConnectionEvent.Type
=
Type.CONNECTED
,
gamepad
:
Int
=
0
)
Types
Type
Link copied to clipboard
enum
Type
:
Enum
<
GamePadConnectionEvent.Type
>
,
EventType
<
GamePadConnectionEvent
>
Properties
default
Prevented
Link copied to clipboard
var
defaultPrevented
:
Boolean
gamepad
Link copied to clipboard
var
gamepad
:
Int
target
Link copied to clipboard
var
target
:
Any
?
type
Link copied to clipboard
open
override
var
type
:
GamePadConnectionEvent.Type
Functions
copy
From
Link copied to clipboard
fun
copyFrom
(
other
:
GamePadConnectionEvent
)
prevent
Default
Link copied to clipboard
fun
preventDefault
(
reason
:
Any
?
=
null
)
prevent
Default
Link copied to clipboard
fun
Event
.
preventDefault
(
reason
:
Any
?
=
null
)
:
Nothing
stop
Propagation
Link copied to clipboard
fun
stopPropagation
(
reason
:
Any
?
=
null
)