[Bug 2811] New: Keyboard/Mouse does not work on AGS games
wine-bugs at winehq.org
Tue Mar 22 10:36:03 CST 2005
Summary: Keyboard/Mouse does not work on AGS games
AssignedTo: wine-bugs at winehq.org
ReportedBy: mteske at imagnos.com
on games constructed with AGS, the AdventureGameStudio,
keyboard and mouse do not work correctly.
1. The mouse always stays in the center of the screen. This I could fix by
commenting out (as of now) line 786 of dlls/dinput/mouse.c:
SetCursorPos( This->mapped_center.x, This->mapped_center.y );
Of course I don't know if that's a valid fix, so I post a bug here for help on
how to debug/fix it properly.
2. Keyboard input does not work at all. although the window gets the events from
X11 (I see them with WINEDEBUG=key) they do not reach dinput (Nothing is seen
on keyboard input and WINEDEBUG=dinput except initialization).
A short Example for such a game can be downloaded under
Called "Rob Blanc 1".
To get it running under wine, after unzipping one needs to create a file
acsetup.cfg with e.g. the following contents:
---- cut ----
------- cut ---------
Thanks for any help.
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.
More information about the wine-bugs