diff options
Diffstat (limited to 'include/lib/touch.h')
| -rw-r--r-- | include/lib/touch.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/lib/touch.h b/include/lib/touch.h index e5848f5f..bf911845 100644 --- a/include/lib/touch.h +++ b/include/lib/touch.h @@ -3,20 +3,24 @@ #include "global.h" #include "types.h" -struct TouchStateFlags { +typedef struct TouchStateFlags { u16 touchX; u16 touchY; u16 touch; u16 flags; -}; +} TouchStateFlags; -struct TouchState { +typedef struct TouchState { bool touch; s32 touchX; s32 touchY; -}; +} TouchState; +#ifdef __cplusplus extern "C" { +#endif void WaitForTouchUpdate(u16 param1); bool GetTouchStateFlags(TouchStateFlags *pState); +#ifdef __cplusplus } +#endif |
