http://bugs.winehq.org/show_bug.cgi?id=21510
Summary: Ogre3D based game doesn't get any (mouse/keyboard) user input Product: Wine Version: 0.9.11. Platform: x86 URL: http://193.219.43.130/~winetester/bin/win32/SpaceBandi ts/space_bandits_game.zip OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: saulius2@gmail.com
Pseudo-game called "Space Bandits" start's up and then I can only Ctrl-C it via the console terminal. The game outputs own debug data to stderr, so I've added +tid channel to make difference. Then wine prints only 2 lines, so there are they:
0009:err:reg:SCSI_getprocentry SCSI type line scan count error (fscanf returns 1, expected 2) 0009:fixme:ddraw:DirectDrawEnumerateExA no non-display devices supported.
This is regression (or revealed bug) from quite old times [1]:
commit e66e34ef7b5ad61bda09067e6ea8f8990017b5de Author: Vitaliy Margolen wine-patch@kievinfo.com Date: Sat Mar 18 11:26:37 2006 -0700
dinput: Create single thread for mouse and keyboard hook.
Put keyboard & mouse hook callbacks into separate thread. Move few global variables into object. Delete no longer used crit section. For hooks to work properly hook callback have to be in a thread with message loop. Some games create separate threads just to handle mouse and/or keyboard events that do not have message loop.
I know about bug 8854 where *both* keyboard and mouse input doesn't work. But in it we have different offending patch.
This game has it's cpp-source in zip, but the main loop comes probably from Ogre3D lib which version used to build the game was quite old.
[1] http://source.winehq.org/git/wine.git/?a=commit;h=e66e34ef7b5ad61b