libevdev ( http://www.freedesktop.org/wiki/Software/libevdev/ )