public interface MouseInput extends Input
| Modifier and Type | Field and Description | 
|---|---|
static int | 
AXIS_WHEEL
Mouse wheel axis. 
 | 
static int | 
AXIS_X
Mouse X axis. 
 | 
static int | 
AXIS_Y
Mouse Y axis. 
 | 
static int | 
BUTTON_LEFT
Left mouse button. 
 | 
static int | 
BUTTON_MIDDLE
Middle mouse button. 
 | 
static int | 
BUTTON_RIGHT
Right mouse button. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getButtonCount()
Returns the number of buttons the mouse has. 
 | 
void | 
setCursorVisible(boolean visible)
Set whether the mouse cursor should be visible or not. 
 | 
void | 
setNativeCursor(JmeCursor cursor)
Sets the cursor to use. 
 | 
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, updatestatic final int AXIS_X
static final int AXIS_Y
static final int AXIS_WHEEL
static final int BUTTON_LEFT
static final int BUTTON_RIGHT
static final int BUTTON_MIDDLE
void setCursorVisible(boolean visible)
visible - Whether the mouse cursor should be visible or not.int getButtonCount()
void setNativeCursor(JmeCursor cursor)
cursor - The cursor to use.