[Bug 30476] New: MacOSX: does fallback for disabled XInput2 work correctly?
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Apr 18 18:53:50 CDT 2012
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 at winehq.org
ReportedBy: zoroaster at 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 );
}
...
}
--
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