Re: Emulation of Alt+Numpad+Digits behavior
Jörg Henne <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel,gmane.comp.xfree86.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Paulo César Pereira de Andrade wrote: > Alan Coopersmith wrote: > > Hi, > > I am not sure either what would be the correct place for this code. > One possible place is keep some state code in > xc/programs/Xserver/hw/xfree86/common/xf86Events.c:xf86PostKbdEvent(), > maybe handle it in xkb code or as Alan said, a new input method. I have considered xc/programs/Xserver/hw/xfree86/input/keyboard/kbd.c. The problem, however, with all low-level (i.e. server-side and close to the hardware) solutions is: since the events carry only the keycode instead of the keysym we need a way to "ship" the event so that XLookupKeysym will return the keysym we want. One could try to choose the keycode so that it will result in the correct symbol, but it is not even guaranteed that all "synthesizable" keysyms have a way of being generated by the traditional mapping code. Joerg Henne