toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.input
/
GamePadStickEvent
Game
Pad
Stick
Event
data
class
GamePadStickEvent
(
var
gamepad
:
Int
=
0
,
var
stick
:
GameStick
=
GameStick.LEFT
,
var
pos
:
Point
=
Point.ZERO
)
:
TypedEvent
<
GamePadStickEvent
>
Members
Members & Extensions
Constructors
Game
Pad
Stick
Event
Link copied to clipboard
constructor
(
gamepad
:
Int
=
0
,
stick
:
GameStick
=
GameStick.LEFT
,
pos
:
Point
=
Point.ZERO
)
Types
Companion
Link copied to clipboard
object
Companion
:
EventType
<
GamePadStickEvent
>
Properties
default
Prevented
Link copied to clipboard
var
defaultPrevented
:
Boolean
gamepad
Link copied to clipboard
var
gamepad
:
Int
pos
Link copied to clipboard
var
pos
:
Point
stick
Link copied to clipboard
var
stick
:
GameStick
target
Link copied to clipboard
var
target
:
Any
?
type
Link copied to clipboard
open
override
var
type
:
EventType
<
GamePadStickEvent
>
x
Link copied to clipboard
val
x
:
Double
y
Link copied to clipboard
val
y
:
Double
Functions
copy
From
Link copied to clipboard
fun
copyFrom
(
other
:
GamePadStickEvent
)
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
)