Strata
Toggle table of contents
dev
Select version
dev
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Strata
api
/
dev.s7a.strata.input
/
KeyboardEvent
/
Press
Press
data
class
Press
(
val
key
:
KeyCode
,
val
scanCode
:
Int
,
val
modifiers
:
KeyboardModifiers
=
KeyboardModifiers()
)
:
KeyboardEvent
(
source
)
Key press or repeat delivery.
Members
Constructors
Press
Link copied to clipboard
constructor
(
key
:
KeyCode
,
scanCode
:
Int
,
modifiers
:
KeyboardModifiers
=
KeyboardModifiers()
)
Properties
key
Link copied to clipboard
open
override
val
key
:
KeyCode
physical key identity.
modifiers
Link copied to clipboard
open
override
val
modifiers
:
KeyboardModifiers
captured modifier state.
scan
Code
Link copied to clipboard
open
override
val
scanCode
:
Int
platform scan code.