module Processing::Core::Input::Keyboard

Direct including types

Defined in:

processing/core/input/keyboard.cr

Instance Method Summary

Instance Method Detail

def key : Char | Nil #

The character value of the key that was pressed.


[View source]
def key_code : Int32 | Nil #

The key code of the key that was pressed.


[View source]
def key_pressed #

The placeholder event handler method for when a key is pressed.


[View source]
def key_released #

The placeholder event handler method for when a pressed key is released.


[View source]
def key_typed #

The placeholder event handler method for when a non-control or shift key is pressed.


[View source]