Function 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.

double getActionStrength (
  const(String) action
) nothrow @nogc const;