I looked at the code in StrKeysym.c in NXlib. It seems that the function
LoadKernelKeymaps(void) opens the keyboard as a file and reads all the
keymaps from that using an ioctl() call. This will not work this way with
DOS.
Do I have to disable that function and edit the mwscan_to_mwkey[128] array
and the /* translate Control/Shift*/ part in XLookupString() to e.g. a
German keyboard? Or is there a different solution?
By the way, the function XLookupString() should return a one instead of zero
and return the translated character in buffer to be compatible with Xlib.
Plus the current function XKeycodeToKeysym() will always return lower case
letters and not support upper case.
Georg
---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org