I'm working at company called "Access", and working with clutter on ZOOM OMAP3430) using the SGX drivers with eglnative and eglx backend.
There was a request to have a key input handler library which dispatches XKeySym for non-X based(eglnative) linux embedded system, and I implemented a stand alone library called "keylib" for this purpose. Supposedly, if clutter eglnative backend is selected with "keylib" enabled, then "keylib" library should send the same XKeySyms to clutter, and it works as expected. That means clutter application can have same input handler for both eglx and eglnative. "keylib" is derived from xserver, and instead of reading input from /dev/input/event, it reads inputs from virtual terminal just like XKB, so it can handle inputs from multiple devices such as built-in keypad and USB keyboard at the same time. "keylib" has also a simple parser for xmodmap file just like X. By simply exporting environment variable KEYLIB_XMODMAP that points the xmodmap file, then it will parse and map keycode into user defined KeySym. This "keylib" project is in the process of being opensourced, and a project is created at sourceforge at http://sourceforge.net/projects/keylib . I attached a clutter patch ( for version 0.8.4) for keylib as well as full source tree of keylib at bugzilla bug-1422 http://bugzilla.o-hand.com/show_bug.cgi?id=1422 . I hope this help someone else who has the same problem like us. Vince Kim
