[Bug 32106] New: Caps Lock doesn't work correctly with WinUAE with DirectInput

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 30 12:54:09 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=32106

             Bug #: 32106
           Summary: Caps Lock doesn't work correctly with WinUAE with
                    DirectInput
           Product: Wine
           Version: 1.5.16
          Platform: x86-64
               URL: http://www.winuae.net/files/InstallWinUAE2410.exe
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: directx-dinput
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: markk at clara.co.uk
    Classification: Unclassified


Created attachment 42334
  --> http://bugs.winehq.org/attachment.cgi?id=42334
Dummy/empty bootable Amiga floppy disk image

This issue shows up with the WinUAE Amiga emulator.

For keyboard and mouse input, WinUAE uses raw input if available, falling back
to DirectInput otherwise. This bug only shows up when WinUAE is using
DirectInput. Raw input was first working in Wine 1.5.16, so if using 1.5.16 or
later, run WinUAE with the -norawinput argument. 

Pressing Caps Lock does not affect typed letters properly. For example,
repeatedly mashing the d-f-g letters on the keyboard, and occasionally pressing
Caps Lock might result in something like this (where [CL] denotes Caps Lock
being pressed and released):

gfd [CL] gfd [CL] gFDgFDgFD [CL] GFDGFDGFD [CL] GdGfDGfd [CL] gfdgdgfd [CL]
gFDgdFgdF [CL] GDFGFDGFD [CL] GfdGfDGDf

That should actually look like:
gfd [CL] GFD [CL] gfdgfdgfd [CL] GFDGFDGFD [CL] gdgfdgfd [CL] GFDGDGFD [CL]
gfdgdfgdf [CL] GDFGFDGFD [CL] gfdgfdgdf


I tested using Wine 1.5.16 built from source on Lubuntu 11.10 x86-64.

To reproduce:

 - Download and run the WinUAE installer.

 - You need to obtain an Amiga ROM image. Try googling for "kick12.rom" OR
"kick13.rom" and you should find the required file easily. Download the file
and copy to a directory accessible by Wine.

 - Run wine winuae.exe -norawinput

 - When the WinUAE Properties window appears, click ROM under Hardware in the
tree-view at the left side. Click the "..." button to the right of "Main ROM
file" and select the ROM image file.

 - Click Floppy drives under Hardware in the tree-view. Click the "..." button
at the upper right of the window to select a floppy disk image. Select the
test.adf file attached to this bug report. (That's a dummy/empty bootable disk;
its only purpose is to leave you in a CLI window where you can type text.)

 - Click Start at the bottom of the window. The emulation will start. After a
few seconds you should be presented with a CLI window.

 - While mashing various letter keys on the keyboard, press and release Caps
Lock from time to time. Notice the issue described above.

 - You can quit WinUAE and run it again without the -norawinput argument.
Repeating the same steps as above, pressing the keys should give the
correct/expected result.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list