v1.2.0: overhauled controller pointer, now has unique sprite and works on linux

This commit is contained in:
Evan Debenham
2022-02-27 10:23:19 -05:00
parent 264742d467
commit 3f4a677700
6 changed files with 52 additions and 16 deletions

View File

@@ -108,6 +108,7 @@ public class InputHandler extends InputAdapter {
@Override
public boolean mouseMoved(int screenX, int screenY) {
ControllerHandler.setControllerPointer(false);
PointerEvent.addPointerEvent(new PointerEvent(screenX, screenY, -1, PointerEvent.Type.HOVER));
return true;
}