[Bug 33261] New: Sims 3 pause key (`) doesn't work with Spanish keyboard

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 23 10:28:47 CDT 2013


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

             Bug #: 33261
           Summary: Sims 3 pause key (`) doesn't work with Spanish
                    keyboard
           Product: Wine
           Version: 1.5.26
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: cymerio at gmail.com
    Classification: Unclassified


Created attachment 43992
  --> http://bugs.winehq.org/attachment.cgi?id=43992
Output log of "The Sims 3" with "WINEDEBUG=+key,+keyboard"

In the game "The Sims 3" the pause command is assigned to 3 keys: 0, P and `
(the key to the left of "1", which in a Spanish keyboards outputs "º").

In Wine 1.5.6 and 1.5.26 (openSUSE 12.2) pressing that key with a Spanish
keyboard causes no effect (i.e. doesn't pause the game). It used to work before
IIRC.
The keyboard is a standard Spanish keyboard (QWERTY 105 keys + Sleep button).

Additionally, the key "ç" now pauses the game too (it shouldn't).
The "ç" key (ccedilla) is the 3rd key to the right of the L, and left to the
Enter key.

Pressing these keys in "xev" outputs:
º => keycode 49 (keysym 0xba, masculine)
ç => keycode 51 (keysym 0xe7, ccedilla)

Editing in Notepad works fine.




There is a log attached which shows the output of runing The Sims 3 with
"WINEDEBUG=+key,+keyboard".

Some interesting lines:

trace:keyboard:X11DRV_KEYBOARD_DetectLayout Attempting to match against
"Spanish keyboard layout"
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 126, got ?? 
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 187, got ((
trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keycode 188, got )) 
trace:keyboard:X11DRV_KEYBOARD_DetectLayout matches=48, mismatches=3, seq=47,
score=84
[...]
warn:keyboard:X11DRV_KEYBOARD_DetectLayout Using closest match (Spanish
keyboard layout) for scan/virtual codes mapping.
trace:keyboard:X11DRV_KEYBOARD_DetectLayout detected layout is "Spanish
keyboard layout"
[...]
trace:keyboard:X11DRV_InitKeyboard keycode 49 => vkey 0000
trace:keyboard:X11DRV_InitKeyboard keycode 50 => vkey 00A0
trace:keyboard:X11DRV_InitKeyboard keycode 51 => vkey 0000
[...]
trace:keyboard:X11DRV_InitKeyboard spare virtual key 00C0 assigned to keycode
51: 
trace:keyboard:X11DRV_InitKeyboard (e7 (ccedilla) c7 (Ccedilla) 0 (NoSymbol) 0
(NoSymbol) fe55 (dead_breve) 0 (NoSymbol) 0 (NoSymbol) )
trace:keyboard:X11DRV_InitKeyboard keycode 51 => vkey 00C0
[...]
trace:key:X11DRV_InitKeyboard assigning scancode 62 to unidentified keycode 49
(masculine)
trace:key:X11DRV_InitKeyboard assigning scancode 63 to unidentified keycode 51
(ccedilla)
[...]
trace:keyboard:X11DRV_KEYBOARD_DetectLayout XKB could not translate keysym 00ba
trace:keyboard:X11DRV_KEYBOARD_DetectLayout XKB could not translate keysym 00aa
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
trace:keyboard:X11DRV_KEYBOARD_DetectLayout XKB could not translate keysym 00e7

-- 
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