| Modifier and Type | Class and Description |
|---|---|
static class |
Keyboard.KeyEvent
An event dispatched for key press/release.
|
static class |
Keyboard.TypedEvent
An event dispatched when a printable character is typed.
|
| Modifier and Type | Field and Description |
|---|---|
Signal<Keyboard.Event> |
Input.keyboardEvents
A signal via which keyboard events are emitted.
|
| Modifier and Type | Method and Description |
|---|---|
static Function<Keyboard.Event,Keyboard.KeyEvent> |
Keyboard.isKey(Key key)
Returns a collector function for key events for
key. |
| Modifier and Type | Method and Description |
|---|---|
static Keyboard.KeyEvent |
Keyboard.isKey(Key key,
Keyboard.Event event)
A collector function for key events for
key. |
static Keyboard.KeyEvent |
Keyboard.keyEvents(Keyboard.Event event)
Checks whether
event is a KeyEvent and returns it (casted appropriately) if
so. |
void |
Keyboard.KeySlot.onEmit(Keyboard.Event event) |
void |
Keyboard.TypedSlot.onEmit(Keyboard.Event event) |
static Keyboard.TypedEvent |
Keyboard.typedEvents(Keyboard.Event event)
Checks whether
event is a TypedEvent and returns it (casted appropriately) if
so. |
Copyright © 2018. All Rights Reserved.