aboutsummaryrefslogtreecommitdiff
path: root/mousetsr.h
diff options
context:
space:
mode:
Diffstat (limited to 'mousetsr.h')
-rw-r--r--mousetsr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mousetsr.h b/mousetsr.h
index 67d6ec4..5f98333 100644
--- a/mousetsr.h
+++ b/mousetsr.h
@@ -180,7 +180,9 @@ typedef struct tsrdata {
uint8_t buttons;
struct {
struct buttoncounter {
+ /** Last position of cursor where this button was pressed. */
struct point last;
+ /** Number of button presses since last button report. */
uint16_t count;
} pressed, released;
} button[MAX_BUTTONS];