1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

Added documentation to fs

Addressed minor issues from static analysis
This commit is contained in:
Bryan Roe
2022-07-21 00:24:10 -07:00
parent 785f28059c
commit fd93f62fe4
5 changed files with 46 additions and 10 deletions

View File

@@ -579,7 +579,7 @@ int TouchAction1(unsigned char id, unsigned int flags, unsigned short x, unsigne
if (g_TouchLoadLibraryState != 1) return 0;
MakeTouchObject(&contact, id, (POINTER_FLAGS)flags, x, y);
if (!g_TouchInjectionCall(1, &contact)) { printf("TOUCH1ERROR: id=%d, flags=%d, x=%d, y=%d, err=%ld\r\n", id, flags, x, y, GetLastError()); return 1; }
if (!g_TouchInjectionCall(1, &contact)) { printf("TOUCH1ERROR: id=%u, flags=%u, x=%u, y=%u, err=%ld\r\n", id, flags, x, y, GetLastError()); return 1; }
//printf("TOUCH: id=%d, flags=%d, x=%d, y=%d\r\n", id, flags, x, y);
return 0;