v2.1.1: fixed bugs with cursor capture
This commit is contained in:
@@ -179,6 +179,8 @@ public class ControllerHandler implements ControllerListener {
|
||||
if (sendEvent) {
|
||||
controllerActive = true;
|
||||
PointerEvent.addPointerEvent(new PointerEvent((int) controllerPointerPos.x, (int) controllerPointerPos.y, 10_000, PointerEvent.Type.HOVER, PointerEvent.NONE));
|
||||
} else {
|
||||
PointerEvent.setHoverPos(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user