jacdac.hid_joystick

Submodules

Package Contents

Classes

HidJoystickClient

Controls a HID joystick.

class jacdac.hid_joystick.HidJoystickClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

Controls a HID joystick. Implements a client for the HID Joystick service.

property button_count: int | None

Number of button report supported,

property buttons_analog: int | None

A bitset that indicates which button is analog.,

property axis_count: int | None

Number of analog input supported,