nanogui: Re: International keyboard support


Previous by date: 23 Jul 2011 14:42:16 -0000 microwindows touch screen using input event0 not working, Larry Samuels
Next by date: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Greg Haerr
Previous in thread: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Georg Potthast
Next in thread: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Greg Haerr

Subject: Re: [nanogui] International keyboard support
From: "Georg Potthast" ####@####.####
Date: 23 Jul 2011 14:42:16 -0000
Message-Id: <003b01cc4946$a6b4d8f0$6a00a8c0@SCHREIBTISCHGP>

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 


Previous by date: 23 Jul 2011 14:42:16 -0000 microwindows touch screen using input event0 not working, Larry Samuels
Next by date: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Greg Haerr
Previous in thread: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Georg Potthast
Next in thread: 23 Jul 2011 14:42:16 -0000 Re: International keyboard support, Greg Haerr


Powered by ezmlm-browse 0.20.