diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-11-16 01:58:37 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-11-16 01:58:37 +1000 |
commit | 3c3bab5d8275a93e12d8b37526811f73a2283195 (patch) | |
tree | 1bcd2a70cdf331cdf6a7473ceb71f321adb5239f /include/ginput/lld | |
parent | a3935c653e2eef4f9cffc86b7fac695f7e7f8987 (diff) | |
download | uGFX-3c3bab5d8275a93e12d8b37526811f73a2283195.tar.gz uGFX-3c3bab5d8275a93e12d8b37526811f73a2283195.tar.bz2 uGFX-3c3bab5d8275a93e12d8b37526811f73a2283195.zip |
Add support for mouse drivers that do their own orientation mapping as the display rotation changes.
Diffstat (limited to 'include/ginput/lld')
-rw-r--r-- | include/ginput/lld/mouse.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |