Class CompatInput
java.lang.Object
net.ixdarklord.folios.internal.compat.CompatInput
-
Method Summary
Modifier and TypeMethodDescriptionstatic MouseButtonEventat(double x, double y) The mouse at a point, with the button last pressed (for drags and releases).static MouseButtonEventclick(double x, double y, int button) A press of a mouse button.static booleanWhether the latest click was a double click.static KeyEventkey(int key, int scancode, int modifiers) static InputWithModifiersThe click or key press being handled, for a button's press.static intThe modifier keys held now.static MouseButtonEventrelease(double x, double y, int button)
-
Method Details
-
modifiers
public static int modifiers()The modifier keys held now. -
click
A press of a mouse button. -
doubleClick
public static boolean doubleClick()Whether the latest click was a double click. -
at
The mouse at a point, with the button last pressed (for drags and releases). -
release
-
key
-
lastInput
The click or key press being handled, for a button's press.
-