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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

>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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to