Skip to content

controllers

Controllers

AutoGator can be commanded by a variety of different controllers. The default is a keyboard controller, but you can also use a joystick or a mouse, or even an XBox controller. More controllers may be implmemented here in the future.

KeyboardControl

Implmements functions for the keyboard controller.

Debounces key presses to make sure that the stage does not get placed into a deadlocked or unrecoverable state.

loop(self)

Enters a blocking loop to control stage motion.

KeyloopKeyboardBindings (BaseSettings) pydantic-model

Sets default keyboard bindings for the KeyboardControl controller.

Because settings are implemented using Pydantic, environmental variables can be used to override the default settings.

Back to top