diff options
| author | Leonida local test <local-test@localhost> | 2026-11-22 23:15:09 +0100 |
|---|---|---|
| committer | Leonida local test <local-test@localhost> | 2026-11-22 23:15:09 +0100 |
| commit | dc01a173970ceccfefefc9e70e6cd31b1eeec43a (patch) | |
| tree | 6c64d024783afb6e06647f1c43779f9b20fe3f86 /docs/gameinput.md | |
| parent | 59aa22ff0ca967db25c0ff8116c52484b7773b5e (diff) | |
gameinput: report SDL's effect result from gameinput_probe (RT-160)
`--force-feedback` now reads the shim's output state once the poll thread has
picked the effect up, and says whether SDL created it and is running it, or why
it did not, so a wheel owner can tell a silent drop from a real run. The shim
records SDL_CreateHapticEffect's id, SDL_RunHapticEffect's result and SDL's
error text per device; gameinput_test asserts the success and the refusal.
AI-assisted
Diffstat (limited to 'docs/gameinput.md')
| -rw-r--r-- | docs/gameinput.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gameinput.md b/docs/gameinput.md index 0bf367f5a..7b4887023 100644 --- a/docs/gameinput.md +++ b/docs/gameinput.md | |||
| @@ -419,8 +419,8 @@ rests on a transcription rather than on a side-by-side compile. | |||
| 419 | - `gameinput_probe [--seconds N] [--rumble] [--force-feedback]` (by hand, with a pad connected): lists the pads with | 419 | - `gameinput_probe [--seconds N] [--rumble] [--force-feedback]` (by hand, with a pad connected): lists the pads with |
| 420 | each one's raw HID report tables (or why it has none), plays each motor and trigger for a second with `--rumble`, | 420 | each one's raw HID report tables (or why it has none), plays each motor and trigger for a second with `--rumble`, |
| 421 | holds a constant force at magnitude 1.0 on motor 0 for a second with `--force-feedback` (skipped, with the reason | 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 | 422 | printed, on a pad the shim reports no force-feedback motor for), and prints whether SDL created that effect and is |
| 423 | input report. | 423 | running it, separately from GameInput accepting it, then prints the live reading and the newest raw input report. |
| 424 | 424 | ||
| 425 | ## VERIFY | 425 | ## VERIFY |
| 426 | 426 | ||