[clutter] CEX100 EGL Backend Keyboard Input

2010-11-09 Thread Jake Knickerbocker


Hi there,

Is anyone else doing keyboard input with an Intel CE4100?  I looking it 
over now and wondering of there's a quick and easy way to do this.  I 
see a library called keylib floating around, but it seems a bit old.


What is the recommended way to handle input for Clutter in this case?

Thanks,
Jake
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



Re: [clutter] CEX100 EGL Backend Keyboard Input

2010-11-09 Thread Damien Lespiau
[Forwarding to the new mailing list on clutter-project.org, please use
this one from now on]

On Tue, 2010-11-09 at 08:48 +, Jake Knickerbocker wrote:
 Hi there,

Hi,

 Is anyone else doing keyboard input with an Intel CE4100?  I looking it 
 over now and wondering of there's a quick and easy way to do this.  I 
 see a library called keylib floating around, but it seems a bit old.

The upstream way of isolating the keyboard mapping from X is called
libxbkcommon:
  http://cgit.freedesktop.org/xorg/lib/libxkbcommon/

Coupled with lib(g)udev for device discovery/hotplug and evdev devices
you have a solid base for input events on Linux.

 What is the recommended way to handle input for Clutter in this case?

I've started a branch to support evdev devices called wip/evdev:
  http://git.clutter-project.org/clutter/log/?h=wip/evdev
The evdev event backend works for keyboards, supports hotplug. Next
stop, mice (and possibly other devices exposed by the evdev driver).

The branch sits on top of master, but it's possible to use the backend
on earlier versions (1.4 / 1.2) with fiddling a bit with the build
system.

HTH,

-- 
Damien

-- 
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com