Hi,

I now (finally...) took some time to add support for the Linux
input event interface (aka evdev, aka /dev/input/eventX) to LibGII.
This is accomplished with the input-linux-evdev inputlib. It takes
one optional argument; the device to use (default is /dev/input/event0)

Currently supported events are:
* EV_KEY - generates evPtrButton for mice and evKey events for
        keyboards and other devices. For keyboards there is no
        keymapping yet, so the label field will be set according to
        standard US-mapping and the sym field will always be
        identical to the label field. This is however enough to
        fully support XGGI and most LibGGI-based applications.
* EV_REL - generates evPtrRelative or evValRelative events as
        apropriate.
* EV_ABS - generates evPtrAbsolute events.

This means that most USB HID devices and all devices supported by the
Linux Input Driver Project (see
http://www.suse.cz/development/input/hardware.html)
are now supported by LibGII (with proper kernel support obviously).

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 452062
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to