[Wayland-bugs] [Bug 85573] New: Provide a udev handle from the libinput device
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 28 14:03:06 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85573
Bug ID: 85573
Summary: Provide a udev handle from the libinput device
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: peter.hutterer at who-t.net
CC: bugzilla at hadess.net
>From a private email from Bastien:
"[we need] a way to get back to the original udev device from the libinput
device, then that'd be fine. (this is actually required functionality for a
feature in gnome-settings-daemon, where pressing the volume up/down on a USB
speaker would change the volume of that speaker, not of the system
sound)."
The API currently provides libinput_device_get_sysname() which allows for a
caller to get the corresponding input device, provided they guess the subsystem
right (udev_device_new_from_subsystem_sysname). Long-term it's probably better
to get the udev device directly from libinput.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20141028/555b3f07/attachment.html>
More information about the wayland-bugs
mailing list