summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick-shortcuts.cpp
AgeCommit message (Collapse)Author
2015-11-22opentrack/joystick: rename header to clarify usageStanislaw Halik
2015-11-22api/joy: protect dinput with mutex in all casesStanislaw Halik
Also practice object-oriented information hiding to avoid accesses without the mutex. Also provide basic joy information (guid, name) without exposing dinput handles and so on.
2015-11-22api/joy: implement a central joystick workerStanislaw Halik
- Make the dinput handle a singleton also across module boundaries. - Provide axis values per connected stick. - Robustify in case of sudden unplug.