add timestamps to the events

This commit is contained in:
vaxerski 2022-12-22 00:05:41 +00:00
parent 8837ff7628
commit c0b51a8f3b

View file

@ -64,13 +64,29 @@
<event name="pressed"> <event name="pressed">
<description summary="keystroke pressed"> <description summary="keystroke pressed">
The keystroke was pressed. The keystroke was pressed.
tv_ values hold the timestamp of the occurrence.
</description> </description>
<arg name="tv_sec_hi" type="uint"
summary="high 32 bits of the seconds part of the timestamp"/>
<arg name="tv_sec_lo" type="uint"
summary="low 32 bits of the seconds part of the timestamp"/>
<arg name="tv_nsec" type="uint"
summary="nanoseconds part of the timestamp"/>
</event> </event>
<event name="released"> <event name="released">
<description summary="keystroke released"> <description summary="keystroke released">
The keystroke was released. The keystroke was released.
tv_ values hold the timestamp of the occurrence.
</description> </description>
<arg name="tv_sec_hi" type="uint"
summary="high 32 bits of the seconds part of the timestamp"/>
<arg name="tv_sec_lo" type="uint"
summary="low 32 bits of the seconds part of the timestamp"/>
<arg name="tv_nsec" type="uint"
summary="nanoseconds part of the timestamp"/>
</event> </event>
</interface> </interface>
</protocol> </protocol>