d-bus/info.globalcode.mouse.cadMousePro.xml
author František Kučera <franta-hg@frantovo.cz>
Sat, 03 Apr 2021 17:39:35 +0200
branchv_0
changeset 33 0dc4e2942840
parent 29 361687fe303a
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
<!--
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
	n.b. in current version, this is not a stable public API and might change in later versions;
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
	now it server only as an internal interface between the daemon and the GUI application.
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
	
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
	generate C++ code from this XML:
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
		d-bus/generate.sh adaptor
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
		d-bus/generate.sh proxy
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
-->
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
<node name="/info/globalcode/mouse/cadMousePro">
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
	<interface name="info.globalcode.mouse.cadMousePro">
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
		
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
		<property name="devicePresent" type="b" access="read"/>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
		<property name="deviceName" type="s" access="read"/>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
		
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
		<method name="configure">
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
			<arg name="liftOffDetection" type="b" direction="in"/>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
			<arg name="smartScrolling" type="b" direction="in"/>
29
361687fe303a add two new options: 1) remap wheel button 2) remap gesture button
František Kučera <franta-hg@frantovo.cz>
parents: 12
diff changeset
    19
			<arg name="remapWheelPress" type="b" direction="in"/>
361687fe303a add two new options: 1) remap wheel button 2) remap gesture button
František Kučera <franta-hg@frantovo.cz>
parents: 12
diff changeset
    20
			<arg name="remapGestureButton" type="b" direction="in"/>
12
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
			<arg name="frequency" type="i" direction="in"/>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
		</method>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
		
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
	</interface>
cf77c218b0b1 D-Bus interface
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
</node>