23 lines
285 B
C
23 lines
285 B
C
#ifndef INPUT_H
|
|
#define INPUT_H
|
|
|
|
#include <stdint.h>
|
|
|
|
enum KEYS {
|
|
TAB = 9,
|
|
HOME = 0x100,
|
|
DEL,
|
|
PG_UP,
|
|
PG_DOWN,
|
|
END,
|
|
ARROW_UP,
|
|
ARROW_DOWN,
|
|
ARROW_LEFT,
|
|
ARROW_RIGHT,
|
|
NOP
|
|
};
|
|
typedef uint16_t KEY;
|
|
|
|
void input_process_key(void);
|
|
|
|
#endif // INPUT_H
|