toggle menu
0.4.9
androidJvm
switch theme
search in API
Command
/
com.amarcolini.joos.gamepad
/
Trigger
Trigger
class
Trigger
@
JvmOverloads
constructor
(
value
:
Float
=
0.0f
,
var
threshold
:
Float
=
0.5f
)
:
Toggleable
Represents the state of a trigger.
Members
Constructors
Trigger
Link copied to clipboard
@
JvmOverloads
constructor
(
value
:
Float
=
0.0f
,
threshold
:
Float
=
0.5f
)
Properties
last
State
Link copied to clipboard
open
override
val
lastState
:
Boolean
last
Value
Link copied to clipboard
var
lastValue
:
Float
state
Link copied to clipboard
open
override
val
state
:
Boolean
threshold
Link copied to clipboard
var
threshold
:
Float
value
Link copied to clipboard
var
value
:
Float
Functions
update
Link copied to clipboard
fun
update
(
newValue
:
Float
)