PCINPUT_FreezeControllerAxes

This commit is contained in:
krystalgamer 2024-05-25 18:27:03 +02:00
parent fbc619c748
commit 3c2fa23f2f
2 changed files with 12 additions and 0 deletions

View File

@ -35,3 +35,14 @@ void PCINPUT_GetMousePosition(int *x, int *y)
*x = gMouseX;
*y = gMouseY;
}
static unsigned char gControllerAxesRelatedOne;
static int gControllerAxesRelatedTwo = -1;
// @NotOk
// Globals
void PCINPUT_FreezeControllerAxes(void)
{
gControllerAxesRelatedOne = 1;
gControllerAxesRelatedTwo = -1;
}

View File

@ -8,5 +8,6 @@
EXPORT int PCINPUT_GetMouseStatus(void);
EXPORT void PCINPUT_SetMouseBound(int, int, int, int);
EXPORT void PCINPUT_GetMousePosition(int*, int*);
EXPORT void PCINPUT_FreezeControllerAxes(void);
#endif