switch-pico/src/switch_pico_bridge/__init__.py
Joey Yakimowich-Payne bce94d38ce Add stateful HD-rumble decoder with TinyUSB report normalization
Decode Nintendo HD-rumble words once in firmware into conventional low/high magnitudes and normalize stripped control SET_REPORT vs complete interrupt OUT reports through one path.
2026-08-29 22:19:31 -06:00

28 lines
589 B
Python

"""
Python helpers for the switch-pico firmware.
Expose the UART helpers at the package root so callers can import
``switch_pico_bridge`` and access the public API directly.
"""
from .switch_pico_uart import ( # noqa: F401
SwitchButton,
SwitchDpad,
SwitchUARTClient,
axis_to_stick,
discover_serial_ports,
first_serial_port,
str_to_dpad,
trigger_to_button,
)
__all__ = [
"SwitchUARTClient",
"SwitchButton",
"SwitchDpad",
"discover_serial_ports",
"first_serial_port",
"axis_to_stick",
"str_to_dpad",
"trigger_to_button",
]