-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbus_interface.xml.in
38 lines (34 loc) · 1.54 KB
/
dbus_interface.xml.in
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
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="@dbus_path@">
<interface name="@dbus_iface@">
<!-- Signal sent when a button is pressed or released. -->
<signal name="buttonEvent">
<!-- The pressed or released button: ENTER, SELECT, USB_COPY. -->
<arg name="button" type="s" direction="out"/>
<!-- True if the button was pressed, false if it was released. -->
<arg name="pressed" type="b" direction="out"/>
</signal>
<!-- Switches LCD backlight on or off. -->
<method name="setLCDBacklight">
<arg name="on" type="b" direction="in"/>
</method>
<!-- Writes a single line of text on the LCD display. -->
<method name="writeLCD">
<!-- Line index, 0 or 1. -->
<arg name="line" type="i" direction="in"/>
<!-- The line text. -->
<arg name="text" type="s" direction="in"/>
</method>
<!-- Writes text on the LCD display. Supports newlines. -->
<method name="writeLCD">
<arg name="text" type="s" direction="in"/>
</method>
<!-- Switches an LED on or off. Available LED names:
STATUS_GREEN, STATUS_RED, USB, DISK_1, DISK_2, DISK_3, DISK_4. -->
<method name="setLED">
<arg name="led" type="s" direction="in"/>
<arg name="on" type="b" direction="in"/>
</method>
</interface>
</node>