Files
ph/include/lib/touch.h
T
Yanis 98cc0af690 Started TouchControl.cpp (#111)
* start both `TouchControl.cpp`

* fix build issues

* complete touchcontrol

* remove useless comment

---------

Co-authored-by: Yanis002 <Yanis002@users.noreply.github.com>
2026-01-30 18:36:20 +01:00

23 lines
319 B
C

#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);
}