[Bug 20008] joystick's POV doesn't work when using evdev

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 11 01:44:39 CDT 2009


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





--- Comment #3 from wine-bug at jednymruchempyty.com  2009-09-11 01:44:39 ---
@Austin English:
Sorry. Didn't think of that. I know it's a bit late for that, but here goes:
The breakage occured after applying:

commit    167457efc14c84292a9c2d31510b1d7d5fe81a7b
author    Vitaliy Margolen <wine-patches at kievinfo.com>
          Sat, 15 Aug 2009 17:58:47 +0000 (11:58 -0600)
committer Alexandre Julliard <julliard at winehq.org>
          Wed, 19 Aug 2009 10:25:18 +0000 (12:25 +0200)
dinput: Evdev joystick driver - add ability to remap axis.

and it persists even after:

commit    83172ecc828f6c48e2686b5aefe7791f8ca6b920
author    Vitaliy Margolen <wine-patches at kievinfo.com>
          Sat, 15 Aug 2009 18:43:38 +0000 (12:43 -0600)
committer Alexandre Julliard <julliard at winehq.org>
          Wed, 19 Aug 2009 10:26:15 +0000 (12:26 +0200)
dinput: Fix evdev POV mapping.


@Vitaly Margolen:
Before commit 167457efc14c84292a9c2d31510b1d7d5fe81a7b the axis in
joystick_linuxinput.c joy_polldev() was mapped via dev_axes_to_di[] (which was
called axis[] then) to a (0..3) range, but after the commit it's mapped via
axis_map[] to (8..11). Technically - yes, alloc_joydev()'s behavior changed,
and not joy_polldev(). Regression or not, the POVs stopped working ;)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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