2019-10-23 17:12:04 +02:00
|
|
|
#ifndef LIBRARY_KEYCODE_H
|
|
|
|
#define LIBRARY_KEYCODE_H
|
|
|
|
|
|
|
|
class KeyCode {
|
|
|
|
private:
|
2019-10-29 15:24:57 +01:00
|
|
|
int value;
|
2019-10-23 17:12:04 +02:00
|
|
|
public:
|
2019-10-29 15:24:57 +01:00
|
|
|
explicit KeyCode(int value);
|
2019-10-23 17:12:04 +02:00
|
|
|
int getValue();
|
|
|
|
};
|
|
|
|
|
2019-10-29 15:24:57 +01:00
|
|
|
const KeyCode Backspace = KeyCode(8);
|
|
|
|
const KeyCode tabulator = KeyCode(9);
|
2019-10-23 17:12:04 +02:00
|
|
|
|
|
|
|
#endif
|