This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Using the Canadian Multilingual Standard keyboard with WindowsXP


Hello Jon,

With WIN XP keyboard set to Canadian Multilingual Standard:
Run xev, press Right Alt

KeyPress event, serial 24, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175760620, (207,-35), root:(383,197),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175760620, (207,-35), root:(383,197),
    state 0x4, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175760720, (207,-35), root:(383,197),
    state 0x84, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

press Right Ctrl

KeyRelease event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175766418, (207,-35), root:(383,197),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

press Right Ctrl again

KeyPress event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175776102, (207,-35), root:(383,197),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175776182, (207,-35), root:(383,197),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

With WIN XP keyboard set to US:
Run xev, press Right Alt

KeyPress event, serial 24, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175606538, (643,593), root:(775,767),
    state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175606608, (643,593), root:(775,767),
    state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

press Right Ctrl

KeyPress event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175613939, (643,593), root:(775,767),
    state 0x0, keycode 109 (keysym 0xfe11, ISO_Level5_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 27, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 175614009, (643,593), root:(775,767),
    state 0x20, keycode 109 (keysym 0xfe11, ISO_Level5_Shift),
same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The latter seems correct.

Regards,
George Young

 

-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk] 
Sent: July 1, 2010 10:50 AM
To: cygwin-xfree@cygwin.com
Cc: Young, George
Subject: Re: Using the Canadian Multilingual Standard keyboard with
WindowsXP

On 03/06/2010 21:17, Young, George wrote:
> Using Windows XP and cygwin started with the command %RUN% XWin 
> -multiwindow -clipboard -silent-dup-error -xkblayout ca -xkbvariant 
> multix -xkbmodel pc104
>
> If the Windows keyboard is set to US, cygwin works fine. If the 
> Windows keyboard is set to Canadian Multilingual Standard, cygwin 
> doesn't get the RightAlt and RightControl inputs.

I couldn't reproduce this.  Checking with xev, the right alt and right
control keys generate key events when the Windows keyboard layout is
Canadian Multilingual Standard, although it seems that right control
generates the same X keysym as left control with that layout for some
reason.

Can you clarify how you are checking for the keypresses?

Please attach your /var/log/XWin.0.log as well.

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

Attachment: XWin.0.log
Description: XWin.0.log

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]