Xphoton and localized keyboard

It seems that there is some problems with localized keyboards on Xphoton.

I use a French keyboard and letters are ok but digits are like US keyboards, others keys like comma, point, …
don’t correspond to French nor US keyboard.

Alain.

Previously, Alain Bonnefoy wrote in qdn.public.qnxrtp.applications:

It seems that there is some problems with localized keyboards on Xphoton.

I use a French keyboard and letters are ok but digits are like US keyboards, others keys like comma, point, …
don’t correspond to French nor US keyboard.

Alain.

yes, i have the same problem with the german keyboard-layout.
some people said that it can be solved with xmodmap. after
compilation i tried to modify the keymap against my needs, but
there are some keys that doesnt work completely. it would be
nice to have the localization-support like photon. the next
question is, why xphoton does have the same problem ?
it’s a part of photon i guess, so whats about my locale settings
in photon ?


gruss
michael

Michael Taubert wrote:

Previously, Alain Bonnefoy wrote in qdn.public.qnxrtp.applications:
It seems that there is some problems with localized keyboards on Xphoton.

I use a French keyboard and letters are ok but digits are like US keyboards, others keys like comma, point, …
don’t correspond to French nor US keyboard.

Alain.


yes, i have the same problem with the german keyboard-layout.
some people said that it can be solved with xmodmap. after
compilation i tried to modify the keymap against my needs, but
there are some keys that doesnt work completely. it would be
nice to have the localization-support like photon. the next
question is, why xphoton does have the same problem ?

Every X application for XPhoton has this problem
(e.g. nedit, gvim …)
I have tried to use keymap definitions from SUSE
… but I don’t see where
XPhoton cares about key mapping =:-/ . My
impression is that key mapping isn’t yet
supported.

It would be nice to hear an official statement
about it!!

Armin

In article <3A125D50.14EA8B3D@web_.de>,
Armin Steinhoff <A-Steinhoff@web_.de> wrote:

Michael Taubert wrote:

Previously, Alain Bonnefoy wrote in qdn.public.qnxrtp.applications:
It seems that there is some problems with localized keyboards on Xphoton.

I use a French keyboard and letters are ok but digits are like US
keyboards, others keys like comma, point, …
don’t correspond to French nor US keyboard.

Alain.


yes, i have the same problem with the german keyboard-layout.
some people said that it can be solved with xmodmap. after
compilation i tried to modify the keymap against my needs, but
there are some keys that doesnt work completely. it would be
nice to have the localization-support like photon. the next
question is, why xphoton does have the same problem ?

Photon keyboard events may or may not have a scancode
(phditto/phindows generated events do not)
X servers have 1 byte of detail to push around internally
for key events, (usually a scan code) so Xphoton must map
the Photon key events into a byte. This code is currently being
redesigned to take into account the locale settings
and also for usb (much bigger events)

BTW I’m not convinced the photon scan codes (when you
do get them) line up with the X scancode/keyboard mappings,
I think you may even be able to assign any scancode/symbol
that you wish to a key with the photon keyboard definitions.
Yet another reason Xphoton should be fully configurable
for this…

Every X application for XPhoton has this problem
(e.g. nedit, gvim …)
I have tried to use keymap definitions from SUSE
… but I don’t see where
XPhoton cares about key mapping =:-/ . My

Try writing the input side of an X server :slight_smile:

impression is that key mapping isn’t yet
supported.

It would be nice to hear an official statement
about it!!

we are working on it.


Garry Turcotte (R&D)
QNX Software Systems, Ltd.