Skip to the content.

class Psychlops::Keyboard

Usage

Typical usage:

if(Keyboard::spc.pushed())
{
    doSomething();
}

Functions of Key and Button

bool pushed()
Transient-signal.
bool released()
Transient-signal.
bool pressed()
Sustained-signal. Always returns true if the key is pressed.

Key list