public interface MouseInput extends Input
| Modifier and Type | Field and Description | 
|---|---|
| static int | AXIS_WHEELMouse wheel axis. | 
| static int | AXIS_XMouse X axis. | 
| static int | AXIS_YMouse Y axis. | 
| static int | BUTTON_LEFTLeft mouse button. | 
| static int | BUTTON_MIDDLEMiddle mouse button. | 
| static int | BUTTON_RIGHTRight 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.