mirror of
https://github.com/zeldaret/oot
synced 2026-06-03 10:31:49 -04:00
padutils.c, line numbers (#2040)
This commit is contained in:
@@ -9,6 +9,10 @@ void func_800FCB70(void) {
|
||||
|
||||
void PadUtils_ResetPressRel(Input* input) {
|
||||
input->press.button = 0;
|
||||
#if PLATFORM_N64
|
||||
input->press.stick_x = 0;
|
||||
input->press.stick_y = 0;
|
||||
#endif
|
||||
input->rel.button = 0;
|
||||
}
|
||||
|
||||
@@ -65,6 +69,16 @@ s8 PadUtils_GetRelY(Input* input) {
|
||||
return PadUtils_GetRelYImpl(input);
|
||||
}
|
||||
|
||||
#if PLATFORM_N64
|
||||
s8 PadUtils_GetPressX(Input* input) {
|
||||
return input->press.stick_x;
|
||||
}
|
||||
|
||||
s8 PadUtils_GetPressY(Input* input) {
|
||||
return input->press.stick_y;
|
||||
}
|
||||
#endif
|
||||
|
||||
void PadUtils_UpdateRelXY(Input* input) {
|
||||
s32 curX = PadUtils_GetCurX(input);
|
||||
s32 curY = PadUtils_GetCurY(input);
|
||||
|
||||
Reference in New Issue
Block a user