http://bugs.winehq.org/show_bug.cgi?id=30476
Bug #: 30476 Summary: MacOSX: does fallback for disabled XInput2 work correctly? Product: Wine Version: 1.4 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: zoroaster@inode.at Classification: Unclassified
The following minimal change of dlls/dinput/mouse.c seems to fix mouse input problem with the game Skyrim with Xinput2 disabled (because it does not work under OSX).
Question: Should warping be done if cursor is clipped or if it is not clipped?
static void warp_check( SysMouseImpl* This, BOOL force ) { ... - if (!This->clipped) + if (This->clipped) { mapped_center.x = (rect.left + rect.right) / 2; mapped_center.y = (rect.top + rect.bottom) / 2; TRACE("Warping mouse to %d - %d\n", mapped_center.x, mapped_center.y); SetCursorPos( mapped_center.x, mapped_center.y ); } ... }
http://bugs.winehq.org/show_bug.cgi?id=30476
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|directx-dinput |-unknown Resolution| |DUPLICATE
--- Comment #1 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-18 21:12:17 CDT --- Duplicate
*** This bug has been marked as a duplicate of bug 29844 ***
http://bugs.winehq.org/show_bug.cgi?id=30476
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-18 21:12:27 CDT --- Closing
http://bugs.winehq.org/show_bug.cgi?id=30476
zoroaster zoroaster@inode.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|DUPLICATE |
--- Comment #3 from zoroaster zoroaster@inode.at 2012-04-19 16:28:15 CDT --- Please can you answer my questions though?
Should warping be done if cursor is clipped or if it is not clipped?
Now warping only happens if the mouse cursor is not clipped which seems to make no sense to me. Why should one want that?
http://bugs.winehq.org/show_bug.cgi?id=30476
--- Comment #4 from Austin English austinenglish@gmail.com 2012-04-19 18:16:34 CDT --- (In reply to comment #3)
Please can you answer my questions though?
Should warping be done if cursor is clipped or if it is not clipped?
Now warping only happens if the mouse cursor is not clipped which seems to make no sense to me. Why sh
http://bugs.winehq.org/show_bug.cgi?id=30476
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Austin English austinenglish@gmail.com 2012-04-19 18:20:20 CDT --- (In reply to comment #3)
Please can you answer my questions though?
Should warping be done if cursor is clipped or if it is not clipped?
Now warping only happens if the mouse cursor is not clipped which seems to make no sense to me. Why should one want that?
That sort of question belongs on wine-devel (perhaps IRC), not bugzilla.
http://bugs.winehq.org/show_bug.cgi?id=30476
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-04-30 14:54:50 CDT --- Closing INVALID bugs.