diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
commit | 2ab2d77fcba42467b62f2be732cb8dc00510fe19 (patch) | |
tree | 8dbd616faa116a2946ad47c62c20d4a34fb749b2 /src/ginput/ginput_driver_mouse.h | |
parent | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (diff) | |
download | uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.gz uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.bz2 uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.zip |
Change coord_t to gCoord
Diffstat (limited to 'src/ginput/ginput_driver_mouse.h')
-rw-r--r-- | src/ginput/ginput_driver_mouse.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ginput/ginput_driver_mouse.h b/src/ginput/ginput_driver_mouse.h index 42c93e75..8b239517 100644 --- a/src/ginput/ginput_driver_mouse.h +++ b/src/ginput/ginput_driver_mouse.h @@ -23,7 +23,7 @@ #include "../gdriver/gdriver.h" typedef struct GMouseReading { - coord_t x, y, z; + gCoord x, y, z; uint16_t buttons; } GMouseReading; @@ -60,9 +60,9 @@ typedef struct GMouse { } GMouse; typedef struct GMouseJitter { - coord_t calibrate; // Maximum error for a calibration to succeed - coord_t click; // Movement allowed without discarding the CLICK or CLICKCXT event - coord_t move; // Movement allowed without discarding the MOVE event + gCoord calibrate; // Maximum error for a calibration to succeed + gCoord click; // Movement allowed without discarding the CLICK or CLICKCXT event + gCoord move; // Movement allowed without discarding the MOVE event } GMouseJitter; typedef struct GMouseVMT { @@ -77,10 +77,10 @@ typedef struct GMouseVMT { #define GMOUSE_VFLG_ONLY_DOWN 0x0100 // This device returns a valid position only when the mouse is down #define GMOUSE_VFLG_POORUPDOWN 0x0200 // Position readings during up/down are unreliable #define GMOUSE_VFLG_DYNAMICONLY 0x8000 // This mouse driver should not be statically initialized eg Win32 - coord_t z_max; // TOUCH: Maximum possible z value (fully touched) - coord_t z_min; // TOUCH: Minimum possible z value (touch off screen). Note may also be > z_max - coord_t z_touchon; // TOUCH: z values between z_max and this are a solid touch on - coord_t z_touchoff; // TOUCH: z values between z_min and this are a solid touch off + gCoord z_max; // TOUCH: Maximum possible z value (fully touched) + gCoord z_min; // TOUCH: Minimum possible z value (touch off screen). Note may also be > z_max + gCoord z_touchon; // TOUCH: z values between z_max and this are a solid touch on + gCoord z_touchoff; // TOUCH: z values between z_min and this are a solid touch off GMouseJitter pen_jitter; // PEN MODE: Jitter settings GMouseJitter finger_jitter; // FINGER MODE: Jitter settings |