InputEvent.getActionStrength

Returns a value between 0.0 and 1.0 depending on the given actions' state. Useful for getting the value of events of type InputEventJoypadMotion.

struct InputEvent
@nogc nothrow const
double
getActionStrength
(
in String action
)

Meta