mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
device: Expose finger status as DBus properties
libfprint v1.90.4 introduced a new finger status API to expose to the UI the finger status on sensor. Add two new properties to the Device interface that represent the possible values. Add new tests.
This commit is contained in:
committed by
Benjamin Berg
parent
30eaaf2def
commit
1835d99265
@ -573,6 +573,30 @@
|
||||
</doc:doc>
|
||||
</property>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<property name="finger-present" type="b" access="read">
|
||||
<doc:doc>
|
||||
<doc:description>
|
||||
<doc:para>
|
||||
Whether the finger is on sensor.
|
||||
</doc:para>
|
||||
</doc:description>
|
||||
</doc:doc>
|
||||
</property>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
|
||||
<property name="finger-needed" type="b" access="read">
|
||||
<doc:doc>
|
||||
<doc:description>
|
||||
<doc:para>
|
||||
Whether the sensor is waiting for the finger.
|
||||
</doc:para>
|
||||
</doc:description>
|
||||
</doc:doc>
|
||||
</property>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user