[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: X11 & Alt-Gr question
From:       Klas Kalass <klas.kalass () gmx ! de>
Date:       2001-05-29 19:38:26
[Download RAW message or body]

Am Dienstag, 29. Mai 2001 21:19 schrieb Ellis Whitehead:
> Could someone with an Alt-Gr/ModeSwitch keyboard run 'xev' and tell me what
> the 'state' value is when you press a switched key (e.g., Alt-Gr+Q = @ on a
> germany keyboard)?

Sure, I get the following output
KeyPress event, serial 27, synthetic NO, window 0x4a00001,
    root 0x4d, subw 0x0, time 3322440481, (72,-6), root:(990,572),
    state 0x10, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 27, synthetic NO, window 0x4a00001,
    root 0x4d, subw 0x0, time 3322447041, (72,-6), root:(990,572),
    state 0x2010, keycode 24 (keysym 0x40, at), same_screen YES,
    XLookupString gives 1 characters:  "@"
 
KeyRelease event, serial 27, synthetic NO, window 0x4a00001,
    root 0x4d, subw 0x0, time 3322447260, (72,-6), root:(990,572),
    state 0x2010, keycode 24 (keysym 0x40, at), same_screen YES,
    XLookupString gives 1 characters:  "@"
 
KeyRelease event, serial 27, synthetic NO, window 0x4a00001,
    root 0x4d, subw 0x0, time 3322448485, (72,-6), root:(990,572),
    state 0x2010, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""


>
> I'm getting state = 0x2000.  The X11 documentation I have doesn't even list
> state values past 0x1000!!!
>
> Also, could you run 'xmodmap' and tell me which Mod the Mode_switch key is
> connected to?  Mine it connected to Mod3, but it doesn't seem have have any
> impact...

mod3        Mode_switch (0x71)                                                
             
>
> Accelerators currently don't work with switched keys, and so figuring this
> out would help solve that problem.

Well, I seem to get the same results as you did, but I hope I could help 
anyways.

Cheers,
Klas
-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic