mirror of
https://github.com/hyprwm/hyprland-protocols.git
synced 2024-11-25 22:35:59 +01:00
add timestamps to the events
This commit is contained in:
parent
8837ff7628
commit
c0b51a8f3b
1 changed files with 16 additions and 0 deletions
|
@ -64,13 +64,29 @@
|
|||
<event name="pressed">
|
||||
<description summary="keystroke pressed">
|
||||
The keystroke was pressed.
|
||||
|
||||
tv_ values hold the timestamp of the occurrence.
|
||||
</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 name="released">
|
||||
<description summary="keystroke released">
|
||||
The keystroke was released.
|
||||
|
||||
tv_ values hold the timestamp of the occurrence.
|
||||
</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>
|
||||
</interface>
|
||||
</protocol>
|
||||
|
|
Loading…
Reference in a new issue