diff options
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/touch.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/lib/touch.h b/include/lib/touch.h new file mode 100644 index 00000000..41d29e4d --- /dev/null +++ b/include/lib/touch.h @@ -0,0 +1,17 @@ +#pragma once + +struct TouchStateFlags { + u16 touchX; + u16 touchY; + u16 touch; + u16 flags; +}; + +struct TouchState { + bool touch; + s32 touchX; + s32 touchY; +}; + +void WaitForTouchUpdate(u16 param1); +bool GetTouchStateFlags(TouchStateFlags *pState); |
