Commit Graph

9 Commits

Author SHA1 Message Date
Roland Winklmeier
84f1e21cf8 Add support for multiple Joystick devices
This includes a major refactoring of the Linux and Windows implementations
Each joystick device is now its own QObject. They all setup their own
native device instances and poll the button states.
On Windows, COM initialization has been removed since it caused segfaults
while releasing the DirectInput8 instance.

ref T254
2018-10-03 03:03:40 +02:00
Roland Winklmeier
f62ab3266f Implement log message fixmes in joystickwindows.cpp 2018-10-03 03:03:40 +02:00
Klaus Basan
d3f46f948a Ref T254, joystick windows avoid crash when shutting down
Temp.workaround, we do not really understand why it crashes here.
2018-04-05 02:52:36 +02:00
Klaus Basan
80c9030bdd Formatting 2018-04-05 02:52:32 +02:00
Klaus Basan
d71e98def3 Changed joystick search class
This finds Saitek controls at KB's place
2018-02-22 13:58:41 +01:00
Klaus Basan
602373c97a Ref T254, avoid crashes when there is no input device
* init with nullptr
* formatting
2018-02-22 01:26:39 +01:00
Klaus Basan
be6b67f95d Filter joystick devices with 0 buttons
ref T254
2018-02-22 01:26:36 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00