| Modifier and Type | Class and Description |
|---|---|
static class |
Mouse.ButtonEvent
The event dispatched for mouse input.
|
static class |
Mouse.MotionEvent
An event dispatched when the mouse is moved.
|
static class |
Mouse.WheelEvent
An event dispatched when the mouse wheel is scrolled.
|
| Modifier and Type | Field and Description |
|---|---|
Signal<Mouse.Event> |
Input.mouseEvents
A signal which emits mouse events.
|
| Modifier and Type | Method and Description |
|---|---|
static Mouse.ButtonEvent |
Mouse.buttonEvents(Mouse.Event event)
Checks whether
event is a ButtonEvent and returns it (casted appropriately) if
so. |
static Mouse.MotionEvent |
Mouse.motionEvents(Mouse.Event event)
Checks whether
event is a MotionEvent and returns it (casted appropriately) if
so. |
void |
Mouse.ButtonSlot.onEmit(Mouse.Event event) |
void |
Mouse.MotionSlot.onEmit(Mouse.Event event) |
void |
Mouse.WheelSlot.onEmit(Mouse.Event event) |
static Mouse.WheelEvent |
Mouse.wheelEvents(Mouse.Event event)
Checks whether
event is a WheelEvent and returns it (casted appropriately) if
so. |
Copyright © 2018. All Rights Reserved.