Update #39 - Fix various issues with the client

This commit is contained in:
lax1dude
2024-09-26 21:47:56 -07:00
parent c0eddc3dfd
commit 82a70b7649
24 changed files with 314 additions and 45 deletions

View File

@ -479,7 +479,11 @@ public class PlatformInput {
}
public static int mouseGetEventDWheel() {
return (int)currentMouseEvent.wheel;
return fixWheel(currentMouseEvent.wheel);
}
private static int fixWheel(float val) {
return (val > 0.0f ? 1 : (val < 0.0f ? -1 : 0));
}
public static int mouseGetX() {