diff options
| author | Leonida local test <local-test@localhost> | 2026-11-22 23:03:41 +0100 |
|---|---|---|
| committer | Leonida local test <local-test@localhost> | 2026-11-22 23:03:41 +0100 |
| commit | 59aa22ff0ca967db25c0ff8116c52484b7773b5e (patch) | |
| tree | 617cacf29dbea286225d38ca05092206b2c30476 /docs/gameinput.md | |
| parent | 4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d (diff) | |
gameinput: drive a constant force from gameinput_probe (RT-160)
`--force-feedback` creates a constant effect at magnitude 1.0 on motor 0 and
holds it for a second, so the wheel owner the RT-160 finding asks for can feel
the magnitude and the axis instead of only reading `forcefeedback=`; a pad with
no force-feedback motor is skipped with the reason printed. Docs and the probe
comment name the flag.
AI-assisted
Diffstat (limited to 'docs/gameinput.md')
| -rw-r--r-- | docs/gameinput.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/gameinput.md b/docs/gameinput.md index fa216a2ee..0bf367f5a 100644 --- a/docs/gameinput.md +++ b/docs/gameinput.md | |||
| @@ -416,9 +416,11 @@ rests on a transcription rather than on a side-by-side compile. | |||
| 416 | tables, the kind and status bits, a reading's raw report (newest declared id, without the id byte, an undeclared id | 416 | tables, the kind and status bits, a reading's raw report (newest declared id, without the id byte, an undeclared id |
| 417 | ignored), creating, sending and reading back output and feature reports with their id byte, `SetRawData`'s exact | 417 | ignored), creating, sending and reading back output and feature reports with their id byte, `SetRawData`'s exact |
| 418 | size, the item calls, `E_INVALIDARG` / `E_FAIL` / `E_NOTIMPL`, and the HID device closing on unplug. | 418 | size, the item calls, `E_INVALIDARG` / `E_FAIL` / `E_NOTIMPL`, and the HID device closing on unplug. |
| 419 | - `gameinput_probe [--seconds N] [--rumble]` (by hand, with a pad connected): lists the pads with each one's raw HID | 419 | - `gameinput_probe [--seconds N] [--rumble] [--force-feedback]` (by hand, with a pad connected): lists the pads with |
| 420 | report tables (or why it has none), plays each motor and trigger for a second with `--rumble`, then prints the live | 420 | each one's raw HID report tables (or why it has none), plays each motor and trigger for a second with `--rumble`, |
| 421 | reading and the newest raw input report. | 421 | holds a constant force at magnitude 1.0 on motor 0 for a second with `--force-feedback` (skipped, with the reason |
| 422 | printed, on a pad the shim reports no force-feedback motor for), then prints the live reading and the newest raw | ||
| 423 | input report. | ||
| 422 | 424 | ||
| 423 | ## VERIFY | 425 | ## VERIFY |
| 424 | 426 | ||