Only allow pairing a headset if no headset is known or if it is explicitly asked for

This commit is contained in:
Guillaume Meunier
2024-11-26 23:59:35 +01:00
committed by Patrick Nicolas
parent 863bef30ab
commit 59192bac6c
4 changed files with 131 additions and 46 deletions
+5
View File
@@ -35,6 +35,9 @@
<arg type="s" name="PublicKey"/>
<arg type="s" name="Name"/>
</method>
<method name="EnrollHeadset">
<arg type="s" name="Pin" direction="out"/>
</method>
<property name="HeadsetConnected" type="b" access="read"/>
<property name="SteamCommand" type="s" access="read"/>
@@ -65,5 +68,7 @@
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QList&lt;std::pair&lt;QString,QString&gt;&gt;"/>
<!-- first: name, second: public key -->
</property>
<property name="EnrollEnabled" type="b" access="read"/>
<property name="EncryptionEnabled" type="b" access="read"/>
</interface>
</node>