wgois / OIS

Official OIS repository. Object oriented Input System
https://wgois.github.io/OIS/
zlib License
254 stars 86 forks source link

Full listing of supported input protocols? #70

Open IngwiePhoenix opened 3 years ago

IngwiePhoenix commented 3 years ago

Is your feature request related to a problem? Please describe. I was going around to see if there was an easy way to get controller input on various platforms and eventually came here via a link in the GAinput README. After just giving compilation a shot, I noticed that OIS immediately picked up on my DirectInput controller (Razer Raiju Ultimate). That's pretty great - but I had no idea OIS had DInput support, at all.

Describe the solution you'd like Within the documentation, I'd love to see a listing of what is supported where. That way, one ought to be able to have a better understanding of the capabilities. I simply had taken a wild guess, and it paid off. But information in the README or the generated docs feel very, very sparse.

Describe alternatives you've considered Whilst I'd love to see it added to the README, it might also just be enough to provide a SUPPORTED.md with a table of what is supported at which platform - and if this support could possibly be extended to other platforms.

Additional context I am still in the prepwork, but I want to use sokol and lvgl to re-create the Playstation 3 XMB on PC and make it navigateable with a controller. Either to use it as a launcher for other apps, or just as a neat little view to drop on a low-powered PC like a Raspberry Pi and hook it up to a TV to have a nice interface for navigating. Therefore, I was "shopping" for controller input abstractions and came across this one here. :)

Ybalrid commented 3 years ago

On top of my head, we support DInput and Xinput on Win32, raw X11, and SDL on Linux, Cocoa (and some legacy Carbon, but that's a dead platform) on macOS.

This should be documented somewhere, but the main goal is to have it "just works"