Skip to content

class KeyPressEvent < KeyboardEvent public

A Hokusai::KeyboardEvent where a key has been pressed/released.

#key public

The key in symbol from

Returns

Returns Symbol

#code public

the key code

Returns

Returns Integer

#char public

the character

Returns

Returns String