http://bugs.winehq.org/show_bug.cgi?id=30690
Bug #: 30690 Summary: no mouse or keyboard in orcs must die Product: Wine Version: 1.5.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: felix@compsoc.nuigalway.ie Classification: Unclassified
The game "Orcs must die!" no longer detects keyboard and mouse input.
Initially the mouse cursor (sword) is shown on the first splash screen and can be moved, but by the time it has cycled through the various splash videos and arrived at the menu, there is no longer a cursor and keyboard input is limited to the down arrow, enter and escape.
Using the limited keyboard keys you can access the settings -> controls sub menu to see it show an Xbox controller as the expected input. It should show a keyboard and mouse layout graphic with the various control keys highlighted
This used to work before, regression occurred with commit a84d2fe20e5479fae8ea9660167ebfac95eafa99 dinput: Stub IDirectInputJoyConfig8 interface.
87a770fa732cfb1088a074f34c8e2075f827199a is the last known good commit
To test you can revert the following 4 commits in order to get a clean revert: 7260132c5d8aa0aa753c12d1e7420c307e651359 dinput: Fix device enumeration by DX8 device type. 699da40d1bb24220050271eea3ddc8cddbd8bcb8 dinput: Add more error checking to IDirectInput_GetDeviceStatus. 310859db675e4b995a56a7578b22b9c3eadb9949 dinput: Add more parameter checking to enum devices. a84d2fe20e5479fae8ea9660167ebfac95eafa99 dinput: Stub IDirectInputJoyConfig8 interface.
Removing all 4 commits on top of 1.5.4, allows the game to correctly detect keyboard and mouse