Date: Mon, 14 Sep 2015 13:25:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-x11@FreeBSD.org Subject: [Bug 196678] [x11-servers/xorg-server] [PATCH] Xorg devd backend Message-ID: <bug-196678-8047-cC2ggXEUua@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196678-8047@https.bugs.freebsd.org/bugzilla/> References: <bug-196678-8047@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 --- Comment #20 from Vitaly Magerya <vmagerya@gmail.com> --- Evdev devices should already have an IOCTL that exposes that information; see 'libevdev_has_event_type' and 'libevdev_set_fd' over at [1]. For example, if 'libevdev_has_event_type(device, EV_ABS)' is true, then it's a touchpad. (Maybe an additional test for 'libevdev_has_event_code(evdev, EV_KEY, BTN_TOUCH)' being true is also needed, I'm not sure). I think this can be corrected later -- if this patch will be accepted at all, improving it will be easy enough from there. [1] http://cgit.freedesktop.org/libevdev/tree/libevdev/libevdev.c -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196678-8047-cC2ggXEUua>