[Bug 26810] New: DirectInput gives incorrect gamepad device
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Apr 17 13:17:06 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26810
Summary: DirectInput gives incorrect gamepad device
Product: Wine
Version: 1.3.17
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-dinput
AssignedTo: wine-bugs at winehq.org
ReportedBy: tehpola at yahoo.com
I'm using a Playstation 3 DualShock 3 controller over USB with my Ubuntu 10.10
system. It generally works fine with native applications; however, I've been
unable to get it working with Wine applications.
When investigating further, I found a simple application which could test out
DirectInput joystick devices: http://www.csh.rit.edu/~jon/projects/joystick/.
Building this using winemaker (small tweaks were required) demonstrated that
two devices were created for the single gamepad.
The first device was incorrect: the X axis of the left stick was stuck at 128
(a minimal value as the values for the axises were unsigned 16-bit values).
The second device seemed correct and even the right stick registered properly
(when the device had an "X,Y,Rx,Ry" entry in the registry).
Hopefully someone with some DirectInput experience will know what's going on
here. I have yet to look at the code, but may do so when time allows. Let me
know if any further information is needed.
--
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