forked from ShadowBlip/InputPlumber
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.shadowblip.Input.CompositeDevice.xml
More file actions
121 lines (117 loc) · 3.89 KB
/
Copy pathorg.shadowblip.Input.CompositeDevice.xml
File metadata and controls
121 lines (117 loc) · 3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg type="v" direction="out"/>
</method>
<method name="Set">
<arg name="interface_name" type="s" direction="in"/>
<arg name="property_name" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<method name="GetAll">
<arg name="interface_name" type="s" direction="in"/>
<arg type="a{sv}" direction="out"/>
</method>
<signal name="PropertiesChanged">
<arg name="interface_name" type="s"/>
<arg name="changed_properties" type="a{sv}"/>
<arg name="invalidated_properties" type="as"/>
</signal>
</interface>
<interface name="org.freedesktop.DBus.Peer">
<method name="Ping">
</method>
<method name="GetMachineId">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg type="s" direction="out"/>
</method>
</interface>
<interface name="org.shadowblip.Input.CompositeDevice">
<!--
Name of the composite device
-->
<property name="Name" type="s" access="read"/>
<!--
Persistent identifier for the device
-->
<property name="PersistentId" type="s" access="read"/>
<!--
Name of the currently loaded profile
-->
<property name="ProfileName" type="s" access="read"/>
<!--
Optional path to the currently loaded profile
-->
<property name="ProfilePath" type="s" access="read"/>
<!--
Stop the composite device and all target devices
-->
<method name="Stop">
</method>
<!--
Returns the currently loaded profile encoded in YAML format
-->
<method name="GetProfileYaml">
</method>
<!--
Load the device profile from the given path
-->
<method name="LoadProfilePath">
<arg name="path" type="s" direction="in"/>
</method>
<!--
Load the device profile from the given YAML/JSON string
-->
<method name="LoadProfileFromYaml">
<arg name="profile" type="s" direction="in"/>
</method>
<!-- I couldn't be bothered to copy the docs for these. See src/dbus/interface/composite_device.rs -->
<method name="SendEvent">
<arg name="event" type="s" direction="in"/>
<arg name="value" type="v" direction="in"/>
</method>
<method name="SendButtonChord">
<arg name="events" type="as" direction="in"/>
</method>
<method name="SetInterceptActivation">
<arg name="activation_events" type="as" direction="in"/>
<arg name="target_event" type="s" direction="in"/>
</method>
<!--
List of capabilities that all source devices implement
-->
<property name="Capabilities" type="as" access="read"/>
<!--
List of capabilities that all output devices implement
-->
<property name="OutputCapabilities" type="as" access="read"/>
<!--
List of capabilities that all target devices implement
-->
<property name="TargetCapabilities" type="as" access="read"/>
<!--
List of source devices that this composite device is processing inputs for
-->
<property name="SourceDevicePaths" type="as" access="read"/>
<!--
The intercept mode of the composite device.
-->
<property name="InterceptMode" type="u" access="readwrite"/>
<!--
Target devices that this [CompositeDevice] is managing
-->
<property name="TargetDevices" type="as" access="readwrite"/>
<!--
Target dbus devices that this [CompositeDevice] is managing
-->
<property name="DbusDevices" type="as" access="read"/>
</interface>
</node>