mirror of
https://github.com/zeldaret/ph
synced 2026-05-24 07:10:52 -04:00
98cc0af690
* start both `TouchControl.cpp` * fix build issues * complete touchcontrol * remove useless comment --------- Co-authored-by: Yanis002 <Yanis002@users.noreply.github.com>
23 lines
319 B
C
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);
|
|
}
|