d-bus/info.globalcode.mouse.cadMousePro.xml
author František Kučera <franta-hg@frantovo.cz>
Tue, 09 Jun 2020 16:12:00 +0200
branchv_0
changeset 29 361687fe303a
parent 12 cf77c218b0b1
permissions -rw-r--r--
add two new options: 1) remap wheel button 2) remap gesture button thanks Paul Guertin for discovering the magic numbers

<!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="remapWheelPress" type="b" direction="in"/>
			<arg name="remapGestureButton" type="b" direction="in"/>
			<arg name="frequency" type="i" direction="in"/>
		</method>
		
	</interface>
</node>