diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
commit | 7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (patch) | |
tree | 95cf152ef65ff19c7b2515b427bbe86b92b611d0 /src/ginput/ginput_toggle.h | |
parent | 8bd70d953bcd3e32ceb4e45a4e561c973726280a (diff) | |
download | uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.gz uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.bz2 uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.zip |
For all source files update integer types to the new gI8 etc type names
Diffstat (limited to 'src/ginput/ginput_toggle.h')
-rw-r--r-- | src/ginput/ginput_toggle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ginput/ginput_toggle.h b/src/ginput/ginput_toggle.h index d8f76029..94699ced 100644 --- a/src/ginput/ginput_toggle.h +++ b/src/ginput/ginput_toggle.h @@ -47,7 +47,7 @@ typedef struct GEventToggle_t { GEventType type; // The type of this event (GEVENT_TOGGLE) - uint16_t instance; // The toggle instance + gU16 instance; // The toggle instance gBool on; // True if the toggle/button is on } GEventToggle; @@ -66,7 +66,7 @@ typedef struct GEventToggle_t { * * @return The source handle of the created instance */ -GSourceHandle ginputGetToggle(uint16_t instance); +GSourceHandle ginputGetToggle(gU16 instance); /** * @brief Can be used to invert the sense of a toggle @@ -74,7 +74,7 @@ GSourceHandle ginputGetToggle(uint16_t instance); * @param[in] instance The ID of the toggle input instance * @param[in] invert If gTrue, will be inverted */ -void ginputInvertToggle(uint16_t instance, gBool invert); +void ginputInvertToggle(gU16 instance, gBool invert); /** * @brief Get the current toggle status @@ -84,7 +84,7 @@ void ginputInvertToggle(uint16_t instance, gBool invert); * * @return Returns gFalse on an error (eg invalid instance) */ -gBool ginputGetToggleStatus(uint16_t instance, GEventToggle *ptoggle); +gBool ginputGetToggleStatus(gU16 instance, GEventToggle *ptoggle); #endif /* GINPUT_NEED_TOGGLE */ |