The library <http://cgit.freedesktop.org/libevdev/> is an API for creating userspace joystick-like devices and reading events from existing ones. Personal use-case is a driver for a game <http://forum.scssoft.com/viewtopic.php?f=119&t=46829&p=79310#p79310> to support head tracking by rotating game actor's point of view and translating (moving) him in game space. There's no other API for that other than 'analog' joystick-like device. My software supports Oculus Rift, webcams via different tracking methods, etc. But no shamelezs plug. Reproducible: Always Steps to Reproduce: 1. emerge -s libevdev Actual Results: Nothing found Expected Results: Ebuild -9999 found
Please also see <http://gpo.zugaina.org/chromeos-base/libevdev>, perhaps some ebuild can be adapted or borrowed.
Created attachment 358820 [details] libevdev-0.3.ebuild Hi Stanisław, i have some curiosity about and make an ebuild, just rename to -9999 for the git version or better use my overlay in layman: layman -a vaca. I will demand you some footage of your results in the game driver work, if possible. :) If no dev have interest in maintain the ebuild i guess i can proxy-maintain, so it can be added to portage tree. Salud.
Created attachment 358834 [details] libevdev ebuild by a first-timer This is my ebuild. It turns out ioctl api is just as easy, just a bit of bit twiddling. It's not portable outside Linux anyway, so having this lib in the first place makes not as much sense as I thought... Sorry for the noise (?)
@x11, x11-drivers/xf86-input-evdev-9999 seems to need this nowadays. I guess you will want this then :). checking for LIBEVDEV... no configure: error: Package requirements (libevdev >= 0.4) were not met: No package 'libevdev' found
+*libevdev-0.4 (13 Oct 2013) + + 13 Oct 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +libevdev-0.4.ebuild, +metadata.xml: + New ebuild for bug #485114, thanks to Iván Atienza and Stanisław Halik.