2024-08-20
| ||
22:32 | • Ticket [3ca87bc883] Support game controllers directly via USB HID device API status still Open with 5 other changes artifact: 9a4f6776cd user: js | |
22:31 | • New ticket [3ca87bc883]. artifact: baac874300 user: js | |
Ticket UUID: | 3ca87bc883540d160c65da1736843aae61e90bdd | |||
Title: | Support game controllers directly via USB HID device API | |||
Status: | Open | Type: | Enhancement | |
Severity: | Minor | Priority: | Low | |
Subsystem: | ObjFWHID | Resolution: | Open | |
Last Modified: | 2024-08-20 22:32:17 | |||
Version Found In: | Milestone: | |||
User Comments: | ||||
js added on 2024-08-20 22:31:55:
Currently, the OS-specific API is used for all controllers. However, on Windows, this means only Xbox 360 controllers. And on Linux, it means the kernel does some remapping to make it an evdev device, which we then have to undo and map back to the original buttons. Investigate whether this can be worked around by implementing the USB HID protocol directly. This might also make controllers portable between OSes, as the HID descriptor would be the same, no matter which OS, and only the talking to a HID device part needs to be abstracted then. |