Available since

4.6.0

.

Constructor

new(Positive:Bool, Trigger:FlxInputState)

Action for mouse wheel events

Parameters:

Positive

True: respond to mouse wheel values > 0; False: respond to mouse wheel values < 0

Trigger

What state triggers this action (PRESSED, JUST_PRESSED, RELEASED, JUST_RELEASED)

Methods

Inherited Variables

Defined by FlxActionInput

@:value(false)read onlydestroyed:Bool = false

device:FlxInputDevice

Mouse, Keyboard, Gamepad, SteamController, etc.

deviceID:Int

Gamepad ID or Steam Controller handle (ignored for Mouse & Keyboard)

read onlyinputID:Int

Input code (FlxMouseButtonID, FlxKey, FlxGamepadInputID, or Steam Controller action handle)

read onlytrigger:FlxInputState

What state triggers this action (PRESSED, JUST_PRESSED, RELEASED, JUST_RELEASED)

type:FlxInputType

Digital or Analog

Inherited Methods