[Bug 48799] HOTAS kit Saitek X52 Pro doesn't show all buttons

WineHQ Bugzilla wine-bugs at winehq.org
Tue Mar 24 08:26:31 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48799

--- Comment #6 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
(In reply to Cláudio Sampaio (Patola) from comment #4)
> Changing TEST_MAX_BUTTONS from 32 to 64 and TEST_MAX_AXES from 4 to 16 on
> ./dlls/joy.cpl/joy.cpl and recompiling made the crash stop on the Test

Hello,

joy.cpl/main.c has arrays of TEST_MAX_AXES size with static data in it.
Changing TEST_MAX_AXES to a greater value may result in uninitialized array
elements to be used. Also, TEST_MAX_AXES is actually pairs of axes, so you only
need 5 for 10 axes.

Regards.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list