Docs and connection
This commit is contained in:
parent
954b47253c
commit
215e7f8bde
2 changed files with 62 additions and 18 deletions
|
|
@ -49,8 +49,14 @@ python controller_uart_bridge.py --interactive
|
|||
Options:
|
||||
- `--map index:PORT` (repeatable) to pin controller index to serial (e.g., `--map 0:/dev/cu.usbserial-0001` or `--map 0:COM5`).
|
||||
- `--ports PORTS...` or `--interactive` for auto/interactive pairing.
|
||||
- `--all-ports` to include non-USB serial devices in discovery.
|
||||
- `--ignore-port-desc SUBSTR` / `--include-port-desc SUBSTR` to filter serial ports by description (repeatable).
|
||||
- `--include-controller-name SUBSTR` to only open controllers whose name matches (repeatable).
|
||||
- `--baud 921600` (default 921600; use `500000` if your adapter can’t do 900K).
|
||||
- `--frequency 1000` to send at 1 kHz.
|
||||
- `--deadzone 0.08` to change stick deadzone (0.0-1.0).
|
||||
- `--trigger-threshold 0.35` to change analog trigger press threshold (0.0-1.0).
|
||||
- `--swap-abxy` or `--swap-abxy-index N` to flip AB/XY globally or for specific controller indices (repeatable).
|
||||
- `--sdl-mapping path/to/gamecontrollerdb.txt` to load extra SDL mappings (defaults to `controller_db/gamecontrollerdb.txt`).
|
||||
|
||||
Hot‑plugging: controllers and UARTs can be plugged/unplugged while running; the bridge will auto reconnect when possible.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue