config/etc/dbus-1/system.d/info.globalcode.mouse.cadMousePro.conf
author František Kučera <franta-hg@frantovo.cz>
Sat, 03 Apr 2021 17:39:35 +0200
branchv_0
changeset 33 0dc4e2942840
parent 23 24f571cbd339
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 busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "busconfig.dtd">
<busconfig>

	<policy user="root">
		<allow own="info.globalcode.mouse.cadMousePro"/>
	</policy>
 
	<policy context="default">
		<allow send_destination="info.globalcode.mouse.cadMousePro" send_interface="org.freedesktop.DBus.Introspectable"/>
		<allow send_destination="info.globalcode.mouse.cadMousePro" send_interface="org.freedesktop.DBus.Peer"/>
		<allow send_destination="info.globalcode.mouse.cadMousePro" send_interface="org.freedesktop.DBus.Properties"/>
		<allow send_destination="info.globalcode.mouse.cadMousePro" send_interface="info.globalcode.mouse.cadMousePro"/>
	</policy>

</busconfig>