Hi, On 12.08.16 19:22, Lundberg, Johannes wrote:
Where can I find xf86-input-libinput for FreeBSD? Will the original source build?
Yes, the original source (https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/) will build unmodified.
I've copied libinput_drv.so to /usr/local/lib/xorg/modules/input/libinput_drv.so and installed "99-libinput.conf" into /usr/local/etc/X11/xorg.conf.d so that X will use libinput for the /dev/input/event* devices by default and not xf86-input-evdev or -synaptics.
Libinput has pretty advanced multitouch scrolling and gesture support that relies on evdev multitouch packets (https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt). Are you already sending these packets, or are you sending relative (EV_REL) packets? Looking at the wmt driver in the wulf7/evdev branch sending EV_ABS packets does not seem too hard for USB based touchpads.
It is probably easiest to boot Linux, dump all evdev packets from the touchpad with the libevdev-events tool from libevdev, and then try to emulate that output with the wsp driver.
For testing smooth scrolling, gtk3-demo is pretty good; or recent versions of Firefox with the MOZ_USE_XINPUT2 environment variable set to 1.
-Jan _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"