this patch adds a missing errorcode in GetDeviceState in dlls/dinput/mouse.c which prevented the mouse to work in some game.
Which games did require this error to be set ? I seem to remember some hacks around this but I do not remember if it was an error added in the GetDeviceData function or an error removed somewhere because it relied on getting something even if not acquired...
I will try a test application when I have access to my Windows development machine to get the error code :-)
Lionel
again, I'm sorry if messages appear twice...
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/... says it should return this error. btw GetDeviceData in mouse.c returns this errorcode as well. WWII-Online (you can get it from www.playnet.com) needs it.
jda
Lionel Ulmer wrote:
this patch adds a missing errorcode in GetDeviceState in dlls/dinput/mouse.c which prevented the mouse to work in some game.
Which games did require this error to be set ? I seem to remember some hacks around this but I do not remember if it was an error added in the GetDeviceData function or an error removed somewhere because it relied on getting something even if not acquired...
I will try a test application when I have access to my Windows development machine to get the error code :-)
Lionel