1
0
mirror of https://github.com/blawar/ooot.git synced 2024-06-25 22:09:34 +00:00
ooot/include/def/padutils.h
2022-02-14 10:56:16 -05:00

21 lines
726 B
C

#pragma once
struct Input;
u32 PadUtils_CheckCur(Input* input, u16 key);
u32 PadUtils_CheckCurExact(Input* input, u16 value);
u32 PadUtils_CheckPressed(Input* input, u16 key);
u32 PadUtils_CheckReleased(Input* input, u16 key);
u16 PadUtils_GetCurButton(Input* input);
s8 PadUtils_GetCurX(Input* input);
s8 PadUtils_GetCurY(Input* input);
u16 PadUtils_GetPressButton(Input* input);
s8 PadUtils_GetRelX(Input* input);
s8 PadUtils_GetRelXImpl(Input* input);
s8 PadUtils_GetRelY(Input* input);
s8 PadUtils_GetRelYImpl(Input* input);
void PadUtils_Init(Input* input);
void PadUtils_ResetPressRel(Input* input);
void PadUtils_SetRelXY(Input* input, s32 x, s32 y);
void PadUtils_UpdateRelXY(Input* input);
void func_800FCB70(void);