Source code for arcade.controller

Controller API. This is basically just an alias to Pyglet's controller API.

For more info on this API, see

from __future__ import annotations

import pyglet.input

__all__ = [

[docs] def get_controllers(): """This returns a list of controllers, it is synonymous with calling ``pyglet.input.get_controllers()`` """ return pyglet.input.get_controllers()
[docs] class ControllerManager(pyglet.input.ControllerManager): """A ControllerManager provides an interface for handling connect/disconnect events. Please see Pyglet docs: """ pass