summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-06-14 08:56:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-14 08:57:32 +1000
commit3ed8aed32199edaa8621ccea571a04883e050cb5 (patch)
tree0ac9e99e3459ea5409407eb498545e239c360048 /XI2proto.h
parente752e92dbdcf01b1cd46a3853f582ff765d19e90 (diff)
Fix two typos in spec/comments
The ButtonClass provides the number of buttons, not the lentgh of the mask. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 733f923..1260200 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -154,7 +154,7 @@ typedef struct {
uint16_t type; /**< Always ButtonClass */
uint16_t length; /**< Length in 4 byte units */
uint16_t sourceid; /**< source device for this class */
- uint16_t num_buttons; /**< Number of buttons provide */
+ uint16_t num_buttons; /**< Number of buttons provided */
} xXIButtonInfo;
/**