summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'io.h')
-rw-r--r--io.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/io.h b/io.h
index 964dee2..2786477 100644
--- a/io.h
+++ b/io.h
@@ -34,12 +34,13 @@ typedef struct {
int listen_fd;
} stream;
struct {
+ uint32_t ready_cycle;
uint16_t last_read_x;
uint16_t last_read_y;
uint16_t cur_x;
uint16_t cur_y;
- int16_t delta_x;
- int16_t delta_y;
+ uint16_t latched_x;
+ uint16_t latched_y;
uint8_t tr_counter;
uint8_t mouse_num;
} mouse;