d-bus/info.globalcode.mouse.cadMousePro.xml
author František Kučera <franta-hg@frantovo.cz>
Wed, 04 Sep 2019 19:41:21 +0200
branchv_0
changeset 21 642f32f76c9d
parent 12 cf77c218b0b1
child 29 361687fe303a
permissions -rw-r--r--
display the battery charge level (from UPower)

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!--
	n.b. in current version, this is not a stable public API and might change in later versions;
	now it server only as an internal interface between the daemon and the GUI application.
	
	generate C++ code from this XML:
		d-bus/generate.sh adaptor
		d-bus/generate.sh proxy
-->
<node name="/info/globalcode/mouse/cadMousePro">
	<interface name="info.globalcode.mouse.cadMousePro">
		
		<property name="devicePresent" type="b" access="read"/>
		<property name="deviceName" type="s" access="read"/>
		
		<method name="configure">
			<arg name="liftOffDetection" type="b" direction="in"/>
			<arg name="smartScrolling" type="b" direction="in"/>
			<arg name="frequency" type="i" direction="in"/>
		</method>
		
	</interface>
</node>