Package org.lwjglx.input
Class Mouse
java.lang.Object
org.lwjglx.input.Mouse
public class Mouse
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Mouse()
-
Method Summary
Modifier and Type Method Description static void
addButtonEvent(int int1, boolean boolean1)
static void
addMoveEvent(double double1, double double2)
static void
create()
static void
destroy()
static int
getButtonCount()
static int
getDWheel()
static int
getDX()
static int
getDY()
static int
getEventButton()
static boolean
getEventButtonState()
static int
getEventDWheel()
static int
getEventDX()
static int
getEventDY()
static long
getEventNanoseconds()
static int
getEventX()
static int
getEventY()
static int
getX()
static int
getY()
static boolean
isButtonDown(int int1)
static boolean
isCreated()
static boolean
isGrabbed()
static boolean
next()
static void
poll()
static void
setClipMouseCoordinatesToWindow(boolean boolean1)
static void
setCursorPosition(int int1, int int2)
static void
setDWheel(double double1, double double2)
static void
setGrabbed(boolean boolean1)
static Cursor
setNativeCursor(Cursor cursor)
static void
updateCursor()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Mouse
public Mouse()
-
-
Method Details
-
addMoveEvent
public static void addMoveEvent(double double1, double double2) -
addButtonEvent
public static void addButtonEvent(int int1, boolean boolean1) -
poll
public static void poll() -
create
- Throws:
LWJGLException
-
isCreated
public static boolean isCreated() -
setGrabbed
public static void setGrabbed(boolean boolean1) -
isGrabbed
public static boolean isGrabbed() -
isButtonDown
public static boolean isButtonDown(int int1) -
next
public static boolean next() -
getEventX
public static int getEventX() -
getEventY
public static int getEventY() -
getEventDX
public static int getEventDX() -
getEventDY
public static int getEventDY() -
getEventNanoseconds
public static long getEventNanoseconds() -
getEventButton
public static int getEventButton() -
getEventButtonState
public static boolean getEventButtonState() -
getEventDWheel
public static int getEventDWheel() -
getX
public static int getX() -
getY
public static int getY() -
getDX
public static int getDX() -
getDY
public static int getDY() -
getDWheel
public static int getDWheel() -
getButtonCount
public static int getButtonCount() -
setClipMouseCoordinatesToWindow
public static void setClipMouseCoordinatesToWindow(boolean boolean1) -
setCursorPosition
public static void setCursorPosition(int int1, int int2) -
setNativeCursor
- Throws:
LWJGLException
-
destroy
public static void destroy() -
updateCursor
public static void updateCursor() -
setDWheel
public static void setDWheel(double double1, double double2)
-