Package-level declarations

Functions

Link copied to clipboard
fun KeyPressed(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyPressed
fun KeyPressed(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyPressed

Creates a new instance of KeyPressed event with the given parameters.

Link copied to clipboard
fun KeyReleased(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED): KeyReleased
fun KeyReleased(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED): KeyReleased

Creates a new instance of KeyReleased event with the given parameters.

Link copied to clipboard
fun KeyTyped(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyTyped
fun KeyTyped(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyTyped

Creates a new instance of KeyTyped event with the given parameters.

Link copied to clipboard
fun MouseDragged(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseDragged
fun MouseDragged(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseDragged

Creates a new instance of MouseDragged with the given parameters.

Link copied to clipboard
fun MouseEntered(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseEntered
fun MouseEntered(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseEntered

Creates a new instance of MouseEntered with the given parameters.

Link copied to clipboard
fun MouseExited(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseExited
fun MouseExited(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseExited

Creates a new instance of MouseExited with the given parameters.

Link copied to clipboard
fun MouseMoved(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseMoved
fun MouseMoved(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers()): MouseMoved

Creates a new instance of MouseMoved with the given parameters.

Link copied to clipboard
fun MousePressed(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MousePressed
fun MousePressed(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MousePressed

Creates a new instance of MousePressed with the given parameters.

Link copied to clipboard
fun MouseReleased(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MouseReleased
fun MouseReleased(location: Point, locationOnScreen: Point = Point.empty(), button: MouseButton = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MouseReleased

Creates a new instance of MouseReleased with the given parameters.

Link copied to clipboard
fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: ScrollType = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel
fun MouseWheel(location: Point, locationOnScreen: Point = Point.empty(), keyModifiers: KeyModifiers = KeyModifiers(), scrollType: ScrollType = ScrollType.SCROLL_TYPE_UNSPECIFIED, deltaX: Float = 0.0f, deltaY: Float = 0.0f): MouseWheel

Creates a new instance of MouseWheel with the given parameters.

Link copied to clipboard
fun TouchCanceled(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchCanceled
fun TouchCanceled(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchCanceled

Creates a new instance of TouchCanceled event with the given parameters.

Link copied to clipboard
fun TouchEnded(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchEnded
fun TouchEnded(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchEnded

Creates a new instance of TouchEnded event with the given parameters.

Link copied to clipboard
fun TouchMoved(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchMoved
fun TouchMoved(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchMoved

Creates a new instance of TouchMoved event with the given parameters.

Link copied to clipboard
fun TouchStarted(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchStarted
fun TouchStarted(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchStarted

Creates a new instance of TouchStarted event with the given parameters.