public final class EmkMouse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUTTON_LEFT
Main mouse buttons.
|
static int |
BUTTON_MIDDLE
Main mouse buttons.
|
static int |
BUTTON_RIGHT
Main mouse buttons.
|
Modifier and Type | Method and Description |
---|---|
static int |
getDWheel() |
static int |
getDX() |
static int |
getDY() |
static float |
getX() |
static float |
getY() |
static boolean |
isButtonDown(int button)
Determines whether the button with the specified code is held down.
|
public static final int BUTTON_LEFT
public static final int BUTTON_MIDDLE
public static final int BUTTON_RIGHT
public static boolean isButtonDown(int button)
button
- Button code to checkTrue
if button
is held down.public static float getX()
public static float getY()
public static int getDX()
public static int getDY()
public static int getDWheel()