diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-09-25 17:44:16 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-09-25 17:44:16 +1000 |
commit | 10dc968427ed1ec846342dd1932b273acea414bd (patch) | |
tree | edcae422757a97d55360a110e72b10f4d7288905 /src/ginput/sys_rules.h | |
parent | 33200c1a9787254532394e6877ec403ed4b89db8 (diff) | |
download | uGFX-10dc968427ed1ec846342dd1932b273acea414bd.tar.gz uGFX-10dc968427ed1ec846342dd1932b273acea414bd.tar.bz2 uGFX-10dc968427ed1ec846342dd1932b273acea414bd.zip |
New mouse updates. Just need a driver now.
Diffstat (limited to 'src/ginput/sys_rules.h')
-rw-r--r-- | src/ginput/sys_rules.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ginput/sys_rules.h b/src/ginput/sys_rules.h index f98cc469..d9a367ce 100644 --- a/src/ginput/sys_rules.h +++ b/src/ginput/sys_rules.h @@ -31,6 +31,21 @@ #undef GFX_USE_GTIMER #define GFX_USE_GTIMER TRUE #endif + #if GINPUT_NEED_MOUSE + #if GINPUT_TOUCH_NOTOUCH + // No warning needed for this + #undef GINPUT_TOUCH_NOCALIBRATE + #define GINPUT_TOUCH_NOCALIBRATE TRUE + #endif + #if GINPUT_TOUCH_NOCALIBRATE + // No warning needed for this + #undef GINPUT_TOUCH_NOCALIBRATE_GUI + #define GINPUT_TOUCH_NOCALIBRATE_GUI TRUE + #endif + #if !GINPUT_TOUCH_NOTOUCH && GINPUT_MOUSE_CLICK_TIME > GINPUT_TOUCH_CXTCLICK_TIME + #error "GINPUT MOUSE: The GINPUT_MOUSE_CLICK_TIME must be <= GINPUT_TOUCH_CXTCLICK_TIME" + #endif + #endif #endif #endif /* _GINPUT_RULES_H */ |