d-bus/org.freedesktop.UPower.xml
author František Kučera <franta-hg@frantovo.cz>
Sat, 03 Apr 2021 17:39:35 +0200
branchv_0
changeset 33 0dc4e2942840
parent 21 642f32f76c9d
permissions -rw-r--r--
support also the wired version of CadMouse Pro currently, there is a simple autodetection: we enumerate HID devices and look for the wireless version, if not found, we look for the wired version

<!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.UPower">
		<method name="EnumerateDevices">
			<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
			<arg type="ao" name="devices" direction="out"/>
		</method>
	</interface>
	
	<interface name="org.freedesktop.UPower.Device">
		<property type="d" name="Percentage" access="read"/>
	</interface>
</node>