diff options
| author | justr4mzi <243612488+justr4mzi@users.noreply.github.com> | 2026-11-22 18:44:31 +0000 |
|---|---|---|
| committer | justr4mzi <243612488+justr4mzi@users.noreply.github.com> | 2026-11-22 18:44:31 +0000 |
| commit | bd05e6ac7be4ac8ed0197fca7f3aa5152d42a87c (patch) | |
| tree | 9fdfe326321861fab1cf94c829e8c1e176ad0e37 /docs/gameinput.md | |
| parent | fd09647e06503ac07df33ead8274bab799b0051c (diff) | |
docs/gameinput.md: FindDeviceFromId answers aggregate devices too
Review (@ramenbellic): aggregates live in the device list FindDeviceFromId
searches, with a fixed deviceId per kind.
Diffstat (limited to 'docs/gameinput.md')
| -rw-r--r-- | docs/gameinput.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/gameinput.md b/docs/gameinput.md index 663ecfc9f..69edbe64c 100644 --- a/docs/gameinput.md +++ b/docs/gameinput.md | |||
| @@ -207,7 +207,8 @@ The API surface: | |||
| 207 | 207 | ||
| 208 | `CreateAggregateDevice` takes exactly one of the keyboard, mouse, gamepad, arcade stick, flight stick or racing wheel | 208 | `CreateAggregateDevice` takes exactly one of the keyboard, mouse, gamepad, arcade stick, flight stick or racing wheel |
| 209 | kinds (none, several, or another kind is `E_INVALIDARG`) and returns one device per kind, the same object on every | 209 | kinds (none, several, or another kind is `E_INVALIDARG`) and returns one device per kind, the same object on every |
| 210 | call: family `GameInputFamilyAggregate`, always connected, with that kind as its `supportedInput`. Readings asked | 210 | call: family `GameInputFamilyAggregate`, always connected, with that kind as its `supportedInput`, and a fixed |
| 211 | `deviceId` per kind that `FindDeviceFromId` also answers. Readings asked | ||
| 211 | through it (`GetCurrentReading`, `GetNextReading`, `GetPreviousReading`) come from every connected device of that | 212 | through it (`GetCurrentReading`, `GetNextReading`, `GetPreviousReading`) come from every connected device of that |
| 212 | kind (`GetCurrentReading` answers the most recent of them); asking it for another kind is | 213 | kind (`GetCurrentReading` answers the most recent of them); asking it for another kind is |
| 213 | `GAMEINPUT_E_READING_NOT_FOUND`. A reading or device callback registered with an aggregate device as its filter is | 214 | `GAMEINPUT_E_READING_NOT_FOUND`. A reading or device callback registered with an aggregate device as its filter is |