1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#pragma once #include "global.h" #include "types.h" struct TouchStateFlags { u16 touchX; u16 touchY; u16 touch; u16 flags; }; struct TouchState { bool touch; s32 touchX; s32 touchY; }; extern "C" { void WaitForTouchUpdate(u16 param1); bool GetTouchStateFlags(TouchStateFlags *pState); }