[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why is the RIGHT ALT key ignored?

On Fri, 04 Feb 2011 18:52:09 +0800, jidanni wrote:

> Why in emacs, iceweasel, etc. is RIGHT ALT ignored? LEFT ALT is
> processed as ALT, but RIGHT ALT is treated like I didn't press it.

"Alt" and "AltGr" (or "right-alt") are different keys and receive 
different treatement.

> xev shows that indeed my keyboard is not broken, KeyPress event, serial
> 33, synthetic NO, window 0x1a00001,
>     root 0x119, subw 0x0, time 5852895, (169,-14), root:(173,546), state
>     0x0, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
>     XKeysymToKeycode returns keycode: 92
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
> So why if both keys are labeled ALT, why is only the left one processed?
> What if you treated SHIFT that way?

"Shift" keys are equal regardless their possition (unless they are 
expressely modified to act differently).

Hum... what is your goal? :-)



Reply to: