mosaic
Toggle table of contents
0.17.0-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
mosaic
mosaic-terminal
/
com.jakewharton.mosaic.terminal.event
/
KeyboardEvent
Keyboard
Event
class
KeyboardEvent
(
val
codepoint
:
Int
,
val
shiftedCodepoint
:
Int
=
-1
,
val
baseLayoutCodepoint
:
Int
=
-1
,
val
modifiers
:
Int
=
0
,
val
eventType
:
Int
=
EventTypePress
,
val
text
:
String
?
=
null
)
:
Event
Members
Constructors
Keyboard
Event
Link copied to clipboard
constructor
(
codepoint
:
Int
,
shiftedCodepoint
:
Int
=
-1
,
baseLayoutCodepoint
:
Int
=
-1
,
modifiers
:
Int
=
0
,
eventType
:
Int
=
EventTypePress
,
text
:
String
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
alt
Link copied to clipboard
val
alt
:
Boolean
base
Layout
Codepoint
Link copied to clipboard
val
baseLayoutCodepoint
:
Int
caps
Lock
Link copied to clipboard
val
capsLock
:
Boolean
codepoint
Link copied to clipboard
val
codepoint
:
Int
ctrl
Link copied to clipboard
val
ctrl
:
Boolean
event
Type
Link copied to clipboard
val
eventType
:
Int
hyper
Link copied to clipboard
val
hyper
:
Boolean
meta
Link copied to clipboard
val
meta
:
Boolean
modifiers
Link copied to clipboard
val
modifiers
:
Int
=
0
num
Lock
Link copied to clipboard
val
numLock
:
Boolean
shift
Link copied to clipboard
val
shift
:
Boolean
shifted
Codepoint
Link copied to clipboard
val
shiftedCodepoint
:
Int
super
Link copied to clipboard
val
super
:
Boolean
text
Link copied to clipboard
val
text
:
String
?
=
null