Class: Keyboard

Method and Variable Index

Public:

Protected:

Method Descriptions

Keyboard()

Sets up the keyboard handler.

bool keyPressed(uint16 thekey)

keyPressed() returns true if the given key is depressed.

bool keyClicked(uint16 thekey)

keyClicked() is like keyPressed(), but if the key is down, it will not return until it has been released.

const uint16 k_keyname

These are the values passed to the keyPressed() method. See the keyboard.h file for the names.