Class InputEventAction

Mapped action input event.

class InputEventAction
  : InputEvent ;

Constructors

NameDescription
this (device, action)

Fields

NameTypeDescription
action const(string)
bloomStrength floatThe difference between the clamped strength value and this action's total accumulation given its StrengthCurve.
delta gfm.math.vector.Vector!(double,2)The discrete change of the action's analog inputs, e.g. mouse wheel, mouse motion, joystick motion, etc.
held boolIf true, the action was already pressed before this event.
pressed boolIf true, the action was just pressed. Otherwise the action was just released.
strength floatA percentage, between 0.0 and 1.0, indicating the strength of this action given its state.
device const(InputDevice)

Properties

NameTypeDescription
handled[get] boolWhether this InputEvent has been handled.

Methods

NameDescription
stopPropagation () Mark this InputEvent as handled, stopping propagation through the input tree.