1
0
Fork 0
mutter-performance-source/data/dbus-interfaces/org.gnome.Mutter.InputMapping.xml
Carlos Garnacho 7a1beb817d backends: Expose InputMapping D-Bus path to determine tablet mapping
Currently, the peripheral "output" setting will be unset if Mutter is
deciding automatically the mapped output of a tablet device. In that
case, gnome-control-center will have a hard time figuring out itself
the better output to show the tablet calibration UI, unless it's hand
held by Mutter.

Add this private D-Bus interface so that gnome-control-center can look
up the output as determined by Mutter to bring the missing harmony
between both. This interface consists of a simple method to get the
mapped output for a input device node.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2605>
2022-09-02 18:34:36 +00:00

19 lines
580 B
XML

<!DOCTYPE node PUBLIC
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<node>
<!--
org.gnome.Mutter.InputMapper:
@short_description: input mapper interface
This interface is used by gnome-control-center to implement
tablet calibration.
-->
<interface name="org.gnome.Mutter.InputMapping">
<method name="GetDeviceMapping">
<arg name="device_node" direction="in" type="o" />
<arg name="rect" direction="out" type="(iiii)" />
</method>
</interface>
</node>