Date: Fri, 12 Aug 2016 16:32:49 +0200 From: =?UTF-8?Q?Jan_Kokem=c3=bcller?= <jan.kokemueller@gmail.com> To: "Lundberg, Johannes" <johannes@brilliantservice.co.jp>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Wayland work status Message-ID: <1df3c73a-dab3-d688-c56a-ed7c4361a9bf@gmail.com> In-Reply-To: <CAASDrVmDT=qEE7c5EU7nCntoipkP3CNfvEWCtRWVG_sF8rKiPg@mail.gmail.com> References: <CAASDrVmDT=qEE7c5EU7nCntoipkP3CNfvEWCtRWVG_sF8rKiPg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On 12.08.16 01:18, Lundberg, Johannes wrote: > x11/libinput (removed udev-stubs and linked to libudev-devd) If you feel adventurous, you can try out the current state of the libinput port here (1.4.0): https://github.com/jiixyj/libinput I haven't yet tested the port with the evdev kernel work, though. I've been using my evdev implementation in userspace which uses cuse to create /dev/input/event* devices (https://github.com/jiixyj/evdevfbsd). I needed to adjust a few ioctl defines from the linux/input.h header to make some features work. The way Linux defines EVIOCGMTSLOTS and EVIOCGRAB didn't work with cuse. The kernel evdev implementation may work slightly differently, so that's something to look out for. I've moved the udev-stubs.{c,h} out of the port into a separate library, but libudev-devd (https://github.com/wulf7/libudev-devd) certainly looks more mature! The libinput code itself isn't that different from upstream anymore. I've removed the epoll->kqueue porting work and written a small epoll wrapper instead that implements everything libinput/libevdev and possibly wayland needs (https://github.com/jiixyj/epoll-shim). This isn't integrated yet into the build system of the libinput port, though. So you have to do something like 'CFLAGS="-I ~/git/epoll-shim/include -L ~/git/epoll-shim -lepoll-shim -pthread" LDFLAGS="-pthread -lrt"' when configuring libinput. All this can be used with the xf86-input-libinput driver to get smooth and horizontal scrolling in X, which is awesome! -- Jan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1df3c73a-dab3-d688-c56a-ed7c4361a9bf>