Re: Re: mouse cursor problems
"Gregory S. Hayes" <[email protected]>
| Newsgroups | gmane.comp.emulators.winex.devel |
|---|---|
| Message-ID | <1076815796.23190.7.camel@icebreaker> |
> I attached a small patch which you can apply to the CVS WineX. It > corrects a particular problem with the Roller Coaster game. It is a > general patch in the sense that it is IMO in line with the dinput > specs. With this patch you can proudly join the group of users who wish to > have "Symptom 3" (unnecessary warping) fixed. I used the patch with the CVS version of winex and replaced the libdinput.so from 3.2.1 with the new build. I included some additional debug lines. It looks like it has the absolute vs. relative position issue fixed, but the cursor sill is constantly snapping back to the center (as opposed to the upper left from before the patch). Thanks for working on this! Greg - trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_LoInstead of the mouse warping back to the upper-left it now warps back to the center. So it almost has it fixed! Thanks for working on this! ck surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300) trace:dinput:SysMouseAImpl_GetDeviceState (X: 0 - Y: 0 Z: 0 L: 00 M: 00 R: 00) trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cd28c trace:x11drv:X11DRV_DDHAL_Lock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cdfa8 trace:x11drv:X11DRV_DDHAL_Unlock surface=0x403cd28c trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:x11drv:X11DRV_DDHAL_SetPaletteEntries palette=0x403acb00 trace:x11drv:X11DRV_DD_ThreadCmd Received cmd 2 for display 0x8100b60 trace:dinput:SysKeyboardAImpl_GetDeviceState (this=0x403cb5d8,256,0x1425c00) trace:dinput:SysMouseAImpl_GetDeviceState (this=0x403cb450,0x00000010,0x408a2738): trace:dinput:fill_DataFormat Copying (i) to 0 from 0 (value 0) trace:dinput:fill_DataFormat Copying (i) to 4 from 4 (value 0) trace:dinput:fill_DataFormat Copying (i) to 8 from 8 (value 0) trace:dinput:fill_DataFormat Copying (c) to 12 from 12 (value 0) trace:dinput:fill_DataFormat Copying (c) to 13 from 13 (value 0) trace:dinput:fill_DataFormat Copying (c) to 14 from 14 (value 0) trace:dinput:fill_DataFormat Copying (c) to 15 from 15 (value 0) trace:dinput:dinput_mouse_warp Warping mouse to 400 - 300 trace:cursor:X11DRV_SetCursorPos warping to (400,300)