IKeyboard

interface IKeyboard

Types

Link copied to clipboard
interface Settings

Functions

Link copied to clipboard
abstract fun checkSupport(keyName: String): Boolean

Checks if the key name is valid and supported

Link copied to clipboard
abstract fun keyDown(keyName: String)

Send a key down event with given key

Link copied to clipboard
abstract fun keyUp(keyName: String)

Send a key up event with given key

Link copied to clipboard
abstract fun type(string: String, speed: CharactersPerSecond = settings.defaultTypingSpeed)

Types the given string

Properties

Link copied to clipboard
abstract val heldKeys: List<String>

List of the names of held keys eg. A, B, COMMA, ALT etc.

Link copied to clipboard

Settings for this keyboard

Inheritors

Link copied to clipboard