summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'input.h')
-rw-r--r--input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/input.h b/input.h
index 1487b35..8bea32b 100644
--- a/input.h
+++ b/input.h
@@ -25,6 +25,10 @@ struct InputStream;
struct InputStream* InputStreamCreate(int fd);
bool InputStreamKeyPress(struct InputStream* input_stream, unsigned evdev_code,
bool pressed);
+bool InputStreamMouseMove(struct InputStream* input_stream, int dx, int dy);
+bool InputStreamMouseButton(struct InputStream* input_stream, unsigned button,
+ bool pressed);
+bool InputStreamMouseWheel(struct InputStream* input_stream, int delta);
bool InputStreamHandsoff(struct InputStream* input_stream);
void InputStreamDestroy(struct InputStream* input_stream);