Commit af9b5f43 authored by Roman Kapl's avatar Roman Kapl Committed by Peter Hutterer

Improve the ButtonInfo description.

It failed to mention it is followed by a bit-mask and then the atoms.
Signed-off-by: default avatarRoman Kapl <code@rkapl.cz>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent eb28f037
...@@ -149,8 +149,9 @@ typedef struct { ...@@ -149,8 +149,9 @@ typedef struct {
/** /**
* Denotes button capability on a device. * Denotes button capability on a device.
* Struct is followed by num_buttons * Atom that names the buttons in the * Struct is followed by a button bit-mask (padded to four byte chunks) and
* device-native setup (i.e. ignoring button mappings). * then num_buttons * Atom that names the buttons in the device-native setup
* (i.e. ignoring button mappings).
*/ */
typedef struct { typedef struct {
uint16_t type; /**< Always ButtonClass */ uint16_t type; /**< Always ButtonClass */
......
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