SystemEventListener

Listener for system events. Controller adding and removal, quiting the application, etc.

Members

Functions

controllerAdded
void controllerAdded(uint id)

Called if a controller was added. The id is the ID of the attached controller.

controllerRemoved
void controllerRemoved(uint id)

Called if a controller was removed. The id is the ID of the removed controller.

onQuit
void onQuit()

Called if the window is being closed.

Meta