18 lines
301 B
C++
18 lines
301 B
C++
#ifndef LIBRARY_KEYCODE_H
|
|
#define LIBRARY_KEYCODE_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
class KeyCode {
|
|
private:
|
|
int16_t value;
|
|
public:
|
|
explicit KeyCode(int16_t value) noexcept;
|
|
int16_t getValue();
|
|
};
|
|
|
|
const static KeyCode Backspace = KeyCode(8);
|
|
const static KeyCode tabulator = KeyCode(9);
|
|
|
|
#endif
|