http://bugs.winehq.org/show_bug.cgi?id=8293
Summary: joystick pov hat does not work
Product: Wine
Version: 0.9.36.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-directx-dinput
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mpeter(a)mpeter.name
I tested it in wwiionline, and even though I had mapped my MS Sidewinder FFB2
correctly in the registry (X,Y,Z,Z,Z,Z,Slider1,Rz,POV1,Z,Z,Z,Z) (jstest says
Joystick (Microsoft SideWinder Force Feedback 2 Joystick) has 14 axes (X, Y, Z,
Rx, Ry, Rz, Throttle, Rudder, Hat0X, Hat0Y, (null), (null), (null), (null))),
using Z instead of none, since none does not exist anymore, and Z isn't mapped
anyway,
it didn't detect the POV hat.
The joystick was also correctly calibrated and checked.
Additionally while reading joystick_linuxinput.c, I noticed that only a 4-way
switch is supported, not a 8-way hat, unlike in joystick_linux.c .
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3747
------- Additional Comments From tom8311(a)wp.pl 2007-05-05 12:52 -------
BTW. Kaj-Michael thanks for checking out that mode switch bug, now it makes sense
to submit it
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3747
------- Additional Comments From tom8311(a)wp.pl 2007-05-05 12:50 -------
I belive the problem is related not only to IDirectInputAImpl_GetDeviceStatus,
but also to IDirectInputAImpl_EnumDevices and to dinput.h (and maby others).
When the game is searching for a joystick, it calls the EnumDevices function,
before the GetDeviceStatus function, and passes DIEDFL_ATTACHEDONLY as the last
(dwFlags) argument. It means that it looks for attached joystick(s), and
then checks it's (their) status (see lines 4008-4014 of the fourth attachment -
http://bugs.winehq.org/attachment.cgi?id=4770&action=view).
The problem is that in dinput.h the DIEDFL_ATTACHEDONLY constant has the same
value as the DIEDFL_ALLDEVICES (it's 0, see
http://source.winehq.org/source/include/dinput.h#L188 and
http://source.winehq.org/source/include/dinput.h#L189), while the
DIEDFL_ATTACHEDONLY should have value of 1 (ref. to Microsoft's DX SDK).
However, I don't know if this is a bug or if this has some purpose (eg. the
DIEDFL_ATTACHEDONLY is yet an unsupported flag in Wine).
The other problem is with the EnumDevices function - I've changed the value of
the DIEDFL_ATTACHEDONLY constant to 1 (in dinput.h), but it changes nothing.
Seems like EnumDevices ignores this value and always claims that the joystick
is present (don't know how it works, tho - haven't looked deeper into the code).
But the fact is that EnumDevices finds "Wine Linux-input joystick driver"
- see line 4012 of the fourth attachment - and in case of no device present
it shouldn't enumerate that driver when it's beeing called with dwFlags=1.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8289
ErV2005(a)rambler.ru changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|0.9.35. |0.9.36.
------- Additional Comments From ErV2005(a)rambler.ru 2007-05-05 12:12 -------
sorry, there was a typo - I've rechecked my Wine version, it is 0.9.36. So,
it's latest stable at this moment.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8289
------- Additional Comments From ErV2005(a)rambler.ru 2007-05-05 12:09 -------
> You mean these are OpenGL demos?
Yes, these are OpenGL demos.
> Also your Wine version is not up-to-date - upgrade and retest.
I'm already using latest stable version of Wine - 0.9.35, released on April
30th of this year. This bug was found also in Wine 0.9.34. I didn't test any
other Wine versions.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8291
vitaliy(a)kievinfo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|1434 |
nThis| |
Component|wine-directx-dinput |wine-misc
------- Additional Comments From vitaliy(a)kievinfo.com 2007-05-05 12:08 -------
You need to decide what bug are you talking about:
- "re-centering" in winxp
- Mouse escaping the screen (dup of bug 6971)
Not a dinput - you proved yourself with native it does exactly the same.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8263
tvirus.nemesis(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|wine-misc |wine-programs
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8263
tvirus.nemesis(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Priority|P2 |P3
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=8179
------- Additional Comments From hbernier(a)gmail.com 2007-05-05 11:49 -------
I created a key under HKEY_CURRENT_USER/Software/Wine called Direct3D and added
a string (REG_SZ) called UseGLSL with the value 'enabled'. This didn't seem to
help. I made sure there wasn't anything wine related running in the background,
tried again. Was there anything else I needed to do? The graphical glitches
remained.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=7849
------- Additional Comments From rob(a)codeweavers.com 2007-05-05 11:49 -------
Ah, I did have a patch to do that but I backed it out and assumed it worked without. Of course, this was
because it was already installed and I didn't wipe ~/.wine.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.