diff options
| author | Aetias <aetias@outlook.com> | 2024-03-19 17:53:59 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-03-19 17:53:59 +0100 |
| commit | 6f707bb31d5411e8292b8df833f1faccfc70fc64 (patch) | |
| tree | bda79a2cb0e6d63a7b5f3f49897e773fe82175ad /include/lib/touch.h | |
| parent | f9f944ae47471903b1f56e2d53a6199e3dc71cc9 (diff) | |
Add `TouchControl.s`
Diffstat (limited to 'include/lib/touch.h')
| -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); |
