View source
enum abstract FlxInputDeviceID(Int)
package flixel.input.actions
from Int to Int
import flixel.input.actions.FlxActionInput
Just a bucket for some handy sentinel values.
Available since
4.6.0
.Variables
inlineread onlyALL:FlxInputDeviceID = -1
Means "every connected device of the given type" (ie all gamepads, all steam controllers, etc)
inlineread onlyFIRST_ACTIVE:FlxInputDeviceID = -2
Means "the first connected device that has an active input" (ie a pressed button or moved analog stick/trigger/etc)