|
upkie 10.0.0
Open-source wheeled biped robots
|
Joystick class used by mock spines to mimick the C++ Joystick sensor. More...
Public Member Functions | |
| def | __init__ (self, str device_path, str prefix="joystick") |
| Initialize joystick input reader. More... | |
| def | write (self, dict observation) |
| Write joystick readings to an observation dictionary. More... | |
Static Public Attributes | |
| dictionary | AXIS_NAMES |
| Mapping from axis codes to axis names (borrowed from linux/input.h). More... | |
| dictionary | BUTTON_NAMES |
| Mapping from button codes to button names. | |