setAxisEventListener

Sets the application listener for axis events.

Registers the provided listener to be notified of grabbed input axis events, or unregisters any currently registered listener. There can be only one registered listener at a time, i.e. registering a different listener will unregister any previous one.

Application should unregister any registered listener when done with event handling. Note however that any registered listener will get automatically unregistered as soon as this peripheral disappears.

Return

this SkyControllerUaGamepad instance, to allow call chaining

Parameters

listener

the listener to register. Use null to unregister current listener