http://bugs.winehq.org/show_bug.cgi?id=2811
Summary: Keyboard/Mouse does not work on AGS games Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: mteske@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 http://www.bigbluecup.com/games.php?action=detail&id=8 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 ---- [misc] cachemax=5120 screenres=1 windowed=1 forceletterbox=0 antialias=0
[sound] digiid=-1 midiid=-1 usevox=1 usespeech=1
------- cut --------- Thanks for any help.