[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: dinput: Update existing joystick values after setting the range property
From:       Austin English <austinenglish () gmail ! com>
Date:       2013-05-30 2:47:25
Message-ID: CACC5Q1d+bx=Z8-7DFMEg0B315y9BqMUT9grk_OWy0i-+Q7u+nA () mail ! gmail ! com
[Download RAW message or body]

On Sun, Apr 14, 2013 at 2:25 PM, Bassi, Gurmail
<Gurmail.Bassi@mottmac.com> wrote:
> ePSXe polls the joystick immediately after setting the axis range property, and \
> uses the returned values as its 'centered' calibrated values - therefore the \
> existing joystick state values must be remapped to the new range (or else the \
> joystick may not have the full range of motion) 
> 
> This patch has been tested on Ubuntu 12.04.1 LTS x86-64, and the behaviour \
> confirmed to match Microsoft's DirectInput implementation on Windows XP 32-bit \
> (Microsoft's DirectInput seems to update the existing joystick values to the new \
> range prior to polling even if the joystick hasn't been moved) 
> 
> ---
> dlls/dinput/joystick.c |   47 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)

Hi Gurmail,

This appears to have caused a regression, see
http://bugs.winehq.org/show_bug.cgi?id=33496

(normally I'd cc you on the bug, but you don't seem to have a bugzilla account).

--
-Austin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic