class flixel.system.frontEnds.InputFrontEnd

Available on all platforms

Instance Fields

var list:Array<IFlxInput>

A read-only list of all inputs.

function add<T>(Input:T):T

Add an input to the system * *

Input

The input to add *

returns

The input

function remove<T>(Input:T):Bool

Removes an input from the system * *

Input

The input to remove *

returns

Bool indicating whether it was removed or not

function replace<T>(Old:T, New:T):T

Replace an existing input in the system with a new one * *

Old

The old input to replace *

New

The new input to put in its place *

returns

If successful returns New. Otherwise returns null.

function reset():Void

Resets the inputs.