http://bugs.winehq.org/show_bug.cgi?id=32365
Bug #: 32365 Summary: raw input: WinUAE does not detect presses of Pause key Product: Wine Version: 1.5.18 Platform: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2500.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
I'm testing with wine-1.5.18-234-gb1d9d43, Lubuntu 11.10 x86-64.
The WinUAE Amiga emulator uses raw input by default. When using raw input, WinUAE is unable to detect when the user presses the Pause key. WinUAE can detect presses of the Pause key when using DirectInput.
To reproduce: - Download and run the WinUAE installer - Run WinUAE. By default it uses raw input. When the settings window opens click Start. - Press the Pause key several times. Each press should be reflected in the status bar at the bottom of the window and should pause/unpause emulation. But nothing happens. There is some Wine console output on each press, something like this: fixme:win:DefRawInputProc (paRawInput=0x4ccf240, nInput=1, cbSizeHeader=16) stub! fixme:win:DefRawInputProc (paRawInput=0x4ccf240, nInput=1, cbSizeHeader=16) stub! - Quit WinUAE and run it again, this time passing a -norawinput argument on the command line. That causes WinUAE to use DirectInput instead. - Click Start and press Pause several times. This time WinUAE does detect presses of the Pause key.
http://bugs.winehq.org/show_bug.cgi?id=32365
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |markk@clara.co.uk
https://bugs.winehq.org/show_bug.cgi?id=32365
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=32365
nallekarhu_80@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nallekarhu_80@luukku.com
--- Comment #2 from nallekarhu_80@luukku.com --- I tried this with 1.7.37 (yes 37, not 47) and it was still valid at the time.
https://bugs.winehq.org/show_bug.cgi?id=32365
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? |
--- Comment #3 from Mark K markk@clara.co.uk --- This bug is still present wioth Wine 1.9.15.
https://bugs.winehq.org/show_bug.cgi?id=32365
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |frederic.delanoy@gmail.com Status|UNCONFIRMED |NEW
--- Comment #4 from Frédéric Delanoy frederic.delanoy@gmail.com --- Confirmed in wine-1.9.18-121-g4e9cc30
In (default) raw input mode, only the first hit on Pause is recognised (and simulation is paused accordingly).
https://bugs.winehq.org/show_bug.cgi?id=32365
--- Comment #5 from Mark K markk@clara.co.uk --- Testing with Wine 1.9.19 this issue seems to have worsened. Can anyone confirm? (I may not have tested the Windows keys in DirectInput mode previously.)
Running WinUAE with -norawinput now (so it uses DirectInput), presses of left and right Windows keys are not recognised, and neither are presses of Pause.
In the default raw input mode (i.e. *without* -norawinput argument), presses of Pause are still not recognised.
In summary: Raw input: both Windows keys recognised, Pause not recognised -- no change DirectInput: both Windows keys not recognised, Pause not recognised -- at least Pause was being recognised before updating Wine
https://bugs.winehq.org/show_bug.cgi?id=32365
--- Comment #6 from Mark K markk@clara.co.uk --- Please ignore comment 5 above!
[I was testing with the most recent release of WinUAE, 3.3.0. Due to a possible bug in that, the keyboard doesn't work at all with -norawinput. Same on native Windows.]
https://bugs.winehq.org/show_bug.cgi?id=32365
--- Comment #7 from Mark K markk@clara.co.uk --- WinUAE has keyboard logging which you can enable by running it with -log -inputlog 1 arguments.
Doing that, on Windows 10 there is this output when pressing Pause with emulation running: HANDLE=1003d CODE=1d Flags=4 VK=13 MSG=100 EXTRA=0 SC=1d HANDLE=1003d CODE=45 Flags=0 VK=ff MSG=100 EXTRA=0 SC=45 HANDLE=1003d CODE=1d Flags=5 VK=13 MSG=101 EXTRA=0 SC=1d HANDLE=1003d CODE=45 Flags=1 VK=ff MSG=101 EXTRA=0 SC=45
However under Wine, this is the output when pressing Pause: HANDLE=2 CODE=45 Flags=0 VK=13 MSG=100 EXTRA=0 SC=45 HANDLE=2 CODE=45 Flags=1 VK=13 MSG=101 EXTRA=0 SC=45
https://bugs.winehq.org/show_bug.cgi?id=32365
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|raw input: WinUAE does not |raw input: Pause produces |detect presses of Pause key |different key codes in Wine | |vs Windows