Commit b4636b5e authored by Peter Hutterer's avatar Peter Hutterer Committed by Daniel Stone

protocol: spell out that we're using linux/input-event-codes.h button codes

Because we already rely on it in the callers anyway. This is a retrofit, which
is not ideal but I'm not sure any compositor out there uses anything else.
Might as well define it.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Jonas Ådahl's avatarJonas Ådahl <>
Reviewed-by: Daniel Stone's avatarDaniel Stone <>
parent 5c48aac3
......@@ -1872,6 +1872,14 @@
enter event.
The time argument is a timestamp with millisecond
granularity, with an undefined base.
The button is a button code as defined in the Linux kernel's
linux/input-event-codes.h header file, e.g. BTN_LEFT.
Any 16-bit button code value is reserved for future additions to the
kernel's event code list. All other button codes above 0xFFFF are
currently undefined but may be used in future versions of this
<arg name="serial" type="uint" summary="serial number of the button event"/>
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment