119 Commits

Author SHA1 Message Date
Travis Nickles
aea901ed39 Added mutex and changed unplug routine slightly. 2015-09-02 22:02:21 -05:00
Travis Nickles
daed1933cc Add mutex for settings. Adjust extra accel duration. 2015-08-31 00:11:43 -05:00
Travis Nickles
304caf1bd4 Change how joysticks are initially loaded. 2015-08-29 08:17:29 -05:00
Travis Nickles
0243888ef4 Change when window buttons are populated. 2015-08-29 04:32:16 -05:00
Travis Nickles
ad6ad2a092 Minor changes. 2015-08-23 01:13:43 -05:00
Travis Nickles
1c933f9925 Only run pollResetTimer when needed. 2015-08-23 00:04:06 -05:00
Travis Nickles
a715ccb818 Initial test of merging threads. 2015-08-22 21:47:14 -05:00
Travis Nickles
1f4873fa3c Add SDL_JoystickID as a registered meta type. 2015-08-11 22:49:11 -05:00
Travis Nickles
22c83be613 More threading testing. 2015-08-06 11:28:32 -05:00
Travis Nickles
514f6e4a36 More threading testing. 2015-08-05 21:38:28 -05:00
Travis Nickles
656fbd61ec More threading changes. 2015-08-05 13:20:44 -05:00
Travis Nickles
fd1b06ff16 Changes to remove some warnings. Changes based on platform testing. 2015-08-05 02:39:32 -05:00
Travis Nickles
6fcdbe70e0 Initial work on running InputDaemon in its own thread. 2015-08-04 07:00:26 -05:00
Travis Nickles
4908909810 Platform tweaks. 2015-07-23 13:39:59 -05:00
Travis Nickles
81d8ef3ecb Add time display to hotplug messages. 2015-07-22 02:45:32 -05:00
Travis Nickles
f516a6b516 Update joystick refresh routine. 2015-07-15 03:41:52 -05:00
Travis Nickles
b0eba6b81a Some fixes. Change other portions of main to account for new event worker usage. 2015-07-14 22:24:00 -05:00
Travis Nickles
82b371c3b6 Add more queueing to events.
This is more of an experiment than anything.
2015-07-10 16:53:14 -05:00
Travis Nickles
2e8b95d1eb Window flag change. Modal windows. 2015-07-10 02:10:24 -05:00
Travis Nickles
711bb446c3 Fixed platform problem. 2015-07-05 03:29:00 -05:00
Travis Nickles
cfcc0af26a Use invokeMethod for worker deletion. 2015-07-05 02:42:40 -05:00
Travis Nickles
d38acc7bba Added changes from Windows testing. 2015-07-05 02:28:33 -05:00
Travis Nickles
9444f87c59 Test changing gamepad poll rate.
Related to issue #202.
2015-07-04 14:04:22 -05:00
Travis Nickles
3cc59f0348 Added license comment to source code files. 2015-07-04 01:21:14 -05:00
Travis Nickles
08dd51d2a9 Initial work on changing gamepad poll rate and other misc changes. 2015-07-04 00:47:24 -05:00
Travis Nickles
786b444082 Wrapped a couple of other methods not needed when using SDL 1.2.
Related to issue #188.
2015-04-17 00:34:14 -05:00
Travis Nickles
fe5768534a Removed unnecessary method call when compiled with SDL 1.2 support.
Related to issue #188. Method relies on hotplug support in SDL 2.
2015-04-16 23:49:45 -05:00
Travis Nickles
e0da987c53 Update extra acceleration for axes.
Delay applying acceleration until movement is moved below
threshold. Acceleration will apply more on the high end.
2015-03-29 23:33:43 -05:00
Travis Nickles
a68f6492d5 Initial use of Logger in application. 2015-03-24 13:13:09 -05:00
Travis Nickles
d1d87c862f Minor edits for use when testing on other system. 2015-03-04 16:36:51 -06:00
Travis Nickles
0f8b8f6f3b Changed device removal release event routine.
Possibly related to issue #175.
2015-03-04 15:59:21 -06:00
Travis Nickles
a01d979e83 First draft of extra mouse acceleration.
For now, a multiplier of 2.0 is used for the
Enhanced Precision curve. A lot of time has been spent
on this so far and I didn't want to lose my current
progress.
2015-03-03 16:58:20 -06:00
Travis Nickles
067524bb27 Renamed method. 2015-02-24 15:21:45 -06:00
Travis Nickles
8cdbccc2f8 Different release value for triggers vs other axes. 2015-02-24 14:23:34 -06:00
Travis Nickles
ed62c8cf24 Tweaks to release event detection. 2015-02-24 14:06:11 -06:00
Travis Nickles
36260b7e8e Change when queue swap happens. 2015-02-24 06:11:41 -06:00
Travis Nickles
6ab2d62fa4 Made a more sensible workaround for unplug trigger problem.
This solution seems more sensible than the previous
prototype that I had come up with. Related to issue #164.
2015-02-24 06:04:29 -06:00
Travis Nickles
a5a079b9a1 Switch event queueing code for sticks and vdpads.
The extra delay from using a QTimer was not
a good solution. It created an undesired delay
in game and mouse movement was compromised.
Instead, the InputDaemon will attempt to activate
any possible pending events for sticks and vdpads.
2015-02-19 02:28:19 -06:00
Travis Nickles
e3e66b0684 Small tweaks. Added method to determine a known controller. 2014-12-24 13:55:52 -06:00
Travis Nickles
4a60db4279 Use current settings info in SDLEventReader.
Remove need to open settings file upon initializing
SDL each time.
2014-12-18 17:11:31 -06:00
Travis Nickles
7bbcd954d9 Initial draft of load profile slot.
Related to issue #148.
2014-12-01 19:29:30 -06:00
Travis Nickles
e4934ea792 Added gradient effect to top region of easing curves.
Related to issue #160.
2014-12-01 03:19:16 -06:00
Travis Nickles
bad78135ec Removed some old mouse event code. Tweaked SDLEventReader. 2014-10-28 14:39:12 -05:00
Travis Nickles
0f8d38a4f9 Refactored mouse event generation. 2014-10-27 15:54:52 -05:00
Travis Nickles
02ae497c34 Remove unneeded headers. 2014-10-09 06:36:01 -05:00
Travis Nickles
b37ba04baf Allow controller mapping to be done outside of the main program. Related to issue #122. 2014-08-21 20:35:06 -05:00
Travis Nickles
066ee68007 Removed extra includes. Fixed one connection. 2014-07-31 21:51:28 -05:00
Travis Nickles
81b02fcd04 Store device objects in a QMap. 2014-07-31 17:38:55 -05:00
Travis Nickles
d4f43bc2c1 Minor tweak to check if eventWorker in InputDaemon is still running before launching a QEventLoop. 2014-07-25 15:51:18 -05:00
Travis Nickles
b3e78d50f0 Start the merging of relevant command line arguments and application settings. Launch in tray is now available as a program option. Related to issue #94. 2014-05-24 00:18:40 -05:00