mirror of
https://gitlab.com/cc-ru/ocelot/ocelot-desktop.git
synced 2025-12-20 02:59:19 +01:00
10 lines
229 B
Scala
10 lines
229 B
Scala
package ocelot.desktop.ui.event
|
|
|
|
object KeyEvent {
|
|
object State extends Enumeration {
|
|
val Press, Release, Repeat = Value
|
|
}
|
|
}
|
|
|
|
case class KeyEvent(state: KeyEvent.State.Value, code: Int, char: Char) extends CapturingEvent
|