key

open fun key(key: Char): Keyboard.HoldAction

Specifies the key to use for this hold action

Return

this hold action

Parameters

key

the key to use for this hold action


open fun key(key: Char, keyCode: Int): Keyboard.HoldAction

Specifies the key and keyCode to use for this hold action

Return

this hold action

Parameters

key

the key to use for this hold action

keyCode

the keyCode to use for this hold action