Commit Graph

40 Commits

Author SHA1 Message Date
Tim Schumacher f5bf3630db joy.cpl: Fix high CPU load in FF test window.
If no effects are in the effects list, the loop in ff_input_thread
is immediately restarted, skipping the poll interval. This causes an
incredibly high refresh rate, which maxes out at least one CPU core.

Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 20:38:00 +02:00
Tim Schumacher 8bc52f5250 joy.cpl: Check if effect is allocated before releasing it.
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 20:34:38 +02:00
Michael Stefaniuc 3e610753a8 joy.cpl: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Alexandre Julliard 80a19b613f joy.cpl: Add a 256x256 icon.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 17:17:17 +02:00
Aric Stewart afb9de281e joy.cpl: Add parameters for Condition FF effects.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:03 +01:00
Fabian Maurer 2842d837d4 joy.cpl: Use proper size for combobox controls.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-31 18:55:36 +02:00
Austin English 83bc9c85e4 joy.cpl: Sync spec file to Windows 10.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 19:57:18 +02:00
Sebastian Lackner 1224bfaa35 joy.cpl: Use variable of correct type to store LSTATUS value.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 22:41:03 +09:00
Bruno Jesus 4189095d87 joy.cpl: Display the correct number of button boxes during test.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-23 12:07:26 +09:00
Alexandre Julliard 3494fb7f72 kernel32: Avoid resolving imports against the advapi32 forwards. 2015-06-10 15:26:05 +09:00
Michael Stefaniuc 721c502db9 joy.cpl: Avoid pointers to out of scope variables (PVS-Studio). 2014-12-04 14:03:33 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 37d1753a5d joy.cpl: Constify some character strings. 2013-12-17 08:45:36 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard 4dc12c4e39 joy.cpl: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Alexandre Julliard 6528aff97b joy.cpl: Return the correct id for the icon. 2013-06-06 11:33:10 +02:00
Gurmail Bassi fbed1f7a80 joy.cpl: Fixed incorrect variable reference. 2013-04-22 12:33:30 +02:00
Joel Holdsworth 4e25cd462e joy.cpl: Added a Tango compliant icon. 2013-04-04 12:18:36 +02:00
Andrew Talbot 3e2c44af7d joy.cpl: Avoid signed-unsigned integer comparisons. 2013-03-11 10:42:56 +01:00
Marcus Meissner bf8c45f3ed joy.cpl: Added missing break; (Coverity). 2012-09-03 17:43:58 +02:00
Lauri Kenttä bc62a82f85 joy.cpl: Make Enable/Disable buttons wider for translations. 2012-08-27 11:30:32 +02:00
Lucas Zawacki 78c8fe0db2 joy.cpl: Disable joysticks using joy.cpl. 2012-08-24 11:30:59 +02:00
Lucas Zawacki e3af37eb1c joy.cpl: Prevent crash on IDirectInputEffect_Release. 2012-08-21 17:47:45 +02:00
Marcus Meissner f51b6e7847 joy.cpl: Avoid uninitialized variable usage (Coverity). 2012-08-20 10:55:53 +02:00
Lucas Zawacki fc944144e3 joy.cpl: Correct misplaced elements when using high DPIs. 2012-08-14 12:00:49 +02:00
Lucas Zawacki dd3e54d496 joy.cpl: Better arrangement of elements even with higher DPIs. 2012-08-13 11:46:37 +02:00
Lucas Zawacki fb939873ba joy.cpl: Remove uneeded FIXME message. 2012-08-13 11:46:29 +02:00
Lucas Zawacki 0204b30e84 joy.cpl: Added force feedback direction control. 2012-07-17 12:49:49 +02:00
Lucas Zawacki 37ce970629 joy.cpl: Tab for force feedback tests. 2012-07-17 12:49:16 +02:00
Lucas Zawacki 6e60adbf5b joy.cpl: Correct joystick testing thread behavior. 2012-07-16 19:35:44 +02:00
Lucas Zawacki d0977a2b8b joy.cpl: Added POV axis visualization. 2012-06-28 11:35:07 +02:00
Lucas Zawacki 22e48becaa joy.cpl: Make dialog the same size as the other cpl applets. 2012-06-28 11:22:15 +02:00
Lucas Zawacki 6cc9968125 joy.cpl: Hardcode axis name strings that were in joy.rc. 2012-06-19 22:03:21 +02:00
Francois Gouget 6d15b88897 joy.cpl: Make list_dlgproc() static. 2012-06-12 11:11:25 +02:00
Lucas Zawacki 69dda4cdcd joy.cpl: Added trace messages to show joystick input. 2012-06-07 21:58:21 +02:00
Lucas Zawacki af55e7dc45 joy.cpl: Added a Graphical Axis test. 2012-06-07 21:58:15 +02:00
Lucas Zawacki fd951a7ec2 joy.cpl: Added joystick testing tab and button tests. 2012-06-07 21:49:47 +02:00
Lucas Zawacki d4c8f771b2 joy.cpl: Added joystick listing. 2012-06-05 21:22:51 +02:00
Lucas Zawacki 033f4ae4b8 joy.cpl: First version of the joystick configuration applet. 2012-06-05 21:21:08 +02:00