KeyboardKeyEvent

class KeyboardKeyEvent(val key: InputConstants.Key, val keyCode: Int, val scanCode: Int, val action: Int, val mods: Int, val screen: Screen? = null) : Event, WebSocketEvent

Constructors

Link copied to clipboard
constructor(key: InputConstants.Key, keyCode: Int, scanCode: Int, action: Int, mods: Int, screen: Screen? = null)

Properties

Link copied to clipboard
val action: Int
Link copied to clipboard
Link copied to clipboard
val key: InputConstants.Key
Link copied to clipboard
Link copied to clipboard
val mods: Int
Link copied to clipboard
Link copied to clipboard
val screen: Screen?
Link copied to clipboard

Indicates whether the event should be serialized asynchronously. If set to true, the event will be serialized in a separate thread.

Link copied to clipboard
open val serializer: Gson