On 22 Aug 2002, Mohammed Sameer wrote: > if so please direct me to the correct one List: [EMAIL PROTECTED]
> for example when it receives the key A it should convert it to a "0x05c" > That's nt the problem but the problem is how to convert the "0x05c" to a In the X-Window system, X server generates either KeyPressed or KeyRelease event when user presses the key or releases the key and send the event to the application. The generated events contains keycodes and keysyms. For translating meaningful characters from the keycode generated by the keyboard envoles mainly two steps. The first step involves translating the keycodes which is hardware DEPENDENT to a symbolic name known as keysym which is hardware INDEPENENT. * The second step involves converting the keysym to an ASCII code that can be used for displaying, saving in files or buffers. In order to provide Native language support, we can add one more step to the above to steps to convert Eng to Native. Bye :) -- --==| Bharathi S | BSB-364 DONLab | IIT-Madras |==-- Leaving ripe fruits the raw he eats Who speaks harsh when sweet words suits. *In Tirukkural of Holy Tamil poet Tiruvalluvar. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
