[Bug 10257] No response to xyz axis joystick movement.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 6 00:26:27 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10257


Vitaliy Margolen <vitaliy at kievinfo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|wine-bugs at winehq.org        |vitaliy at kievinfo.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #8 from Vitaliy Margolen <vitaliy at kievinfo.com>  2007-11-06 00:26:26 ---
Ok I see what's going on:

trace:dinput:JoystickAImpl_SetProperty proprange(-127,127) obj=2
....
trace:dinput:JoystickAImpl_SetProperty deadzone(1000) obj=2
....
race:dinput:joystick_map_axis (-32767 32767) -> (-127 <1000> 127): val=-31417
ret=0

App sets -127..+127 ranges for all axis and 1000 for the dead zone. It appears
Wine treats the dead zone wrong. MSDN says that dead zone range is from 0 to
10000. Where 0 means no dead zone. 5000 - 50% of the device range and 10000
equals full device range.

I'll have a fix for this in the next few days.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list