Keyboard

Represent the Keyboard

Members

Aliases

Code
alias Code = Key

An alias

Enums

Key
enum Key

Supported Keyboard Codes. These are all possible/supported keys.

Mod
enum Mod

All supported Keyboard modifiers.

Static functions

getModifier
Mod getModifier()

Returns the current Keyboard modifier.

hasScreenSupport
bool hasScreenSupport()

Returns if screen keyboard is supported.

isPressed
bool isPressed(Code code)

Returns if the given Keyboard.Code is pressed.

setModifier
void setModifier(Mod mod)

Set the current Keyboard modifier.

Meta

Authors

Randy Schuett (rswhite4@googlemail.com)