Just a bucket for some handy sentinel values.

Available since

4.6.0

.

Static variables

@:value(-1)staticinlineread onlyALL:Int = -1

Means "every connected device of the given type" (ie all gamepads, all steam controllers, etc)

@:value(-2)staticinlineread onlyFIRST_ACTIVE:Int = -2

Means "the first connected device that has an active input" (ie a pressed button or moved analog stick/trigger/etc)

@:value(-3)staticinlineread onlyNONE:Int = -3

Means "no device"