After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748031 - Add support for enumerating input devices
Add support for enumerating input devices
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-04-17 08:35 UTC by Ondrej Holy
Modified: 2021-07-05 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ondrej Holy 2015-04-17 08:35:02 UTC
We need a way to enumerate the devices and their capabilities under
wayland.
Comment 1 Bastien Nocera 2015-04-18 15:14:24 UTC
Reassigning this to mutter, where this would be implemented.
Comment 2 Ondrej Holy 2015-04-21 13:00:26 UTC
Isn't enough to use ClutterDeviceManager in g-c-c (instead of GsdDeviceManager), which is already used in mutter? There is x11 backend, which can provide device ids, and evdev backend which can provide libinput_device structs. We can detect the capabilities using libinput api if we will have those structs...
Comment 3 Bastien Nocera 2015-04-21 13:06:20 UTC
(In reply to Ondrej Holy from comment #2)
> Isn't enough to use ClutterDeviceManager in g-c-c (instead of
> GsdDeviceManager), which is already used in mutter? There is x11 backend,
> which can provide device ids, and evdev backend which can provide
> libinput_device structs. We can detect the capabilities using libinput api
> if we will have those structs...

No, because ClutterDeviceManager won't have access to the devices directly, only through wayland. You're confusing the compositor and clients features, which could both be clutter in this case.

ClutterDeviceManager, in mutter, will talk directly to the input devices through libinput. In client applications, they will talk to the compositor, using a wayland protocol. Client applications will never see the actual devices.
Comment 4 GNOME Infrastructure Team 2021-07-05 13:51:13 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.