From 3c3bab5d8275a93e12d8b37526811f73a2283195 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 16 Nov 2013 01:58:37 +1000 Subject: Add support for mouse drivers that do their own orientation mapping as the display rotation changes. --- include/ginput/lld/mouse.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/ginput/lld') diff --git a/include/ginput/lld/mouse.h b/include/ginput/lld/mouse.h index 4da338dc..a3056519 100644 --- a/include/ginput/lld/mouse.h +++ b/include/ginput/lld/mouse.h @@ -66,6 +66,10 @@ #define GINPUT_MOUSE_CLICK_TIME 700 #endif +// true/false - Whether the mouse driver internally handles screen rotation +#ifndef GINPUT_MOUSE_NO_ROTATION + #define GINPUT_MOUSE_NO_ROTATION FALSE +#endif typedef struct MouseReading_t { coord_t x, y, z; -- cgit v1.2.3