toggle menu
0.4.9
androidJvm
switch theme
search in API
Command
/
com.amarcolini.joos.gamepad
/
Trigger
Trigger
public
final
class
Trigger
extends
Toggleable
Represents the state of a trigger.
Members
Constructors
Trigger
Link copied to clipboard
@
JvmOverloads
(
)
public
Trigger
Trigger
(
Float
value
,
Float
threshold
)
@
JvmOverloads
(
)
public
Trigger
Trigger
(
Float
value
)
@
JvmOverloads
(
)
public
Trigger
Trigger
(
)
Properties
last
State
Link copied to clipboard
private
final
Boolean
lastState
last
Value
Link copied to clipboard
private
final
Float
lastValue
state
Link copied to clipboard
private
final
Boolean
state
threshold
Link copied to clipboard
private
Float
threshold
value
Link copied to clipboard
private
final
Float
value
Functions
get
Last
State
Link copied to clipboard
public
Boolean
getLastState
(
)
get
Last
Value
Link copied to clipboard
public
final
Float
getLastValue
(
)
get
State
Link copied to clipboard
public
Boolean
getState
(
)
get
Threshold
Link copied to clipboard
public
final
Float
getThreshold
(
)
get
Value
Link copied to clipboard
public
final
Float
getValue
(
)
set
Threshold
Link copied to clipboard
public
final
Unit
setThreshold
(
Float
threshold
)
update
Link copied to clipboard
public
final
Unit
update
(
Float
newValue
)