#include <Keyboard.h>
Public Member Functions | |
Keyboard () | |
void | waitFor (int key) |
int | getKey () |
int | readKey () |
Static Public Attributes | |
const int | KEY_1 = KEY1 |
const int | KEY_2 = KEY2 |
const int | KEY_3 = KEY3 |
const int | KEY_4 = KEY4 |
|
|
|
Waits for a keypress and returns keycode
|
|
Reads keycode and returns it. Does NOT wait
|
|
Waits for the given key
|
|
Value to identify key 1 of the keyboard |
|
Value to identify key 2 of the keyboard |
|
Value to identify key 3 of the keyboard |
|
Value to identify key 4 of the keyboard |