summaryrefslogtreecommitdiff
path: root/src/keyboard.h
blob: a99fa4297bbc2f2a6c82a0437a89dbf9cb09c8a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _HACKVR_KEYBOARD_H_
#define _HACKVR_KEYBOARD_H_

typedef enum {
 HVK_NONE,
 HVK_ESCAPE,
 HVK_FORWARD,
 HVK_BACKWARD,
 HVK_UP,
 HVK_DOWN,
 HVK_LEFT,
 HVK_RIGHT,
 HVK_TURNLEFT,
 HVK_TURNRIGHT,
 HVK_JUMP,
 HVK_DEBUG,
 HVK_ENTER,
 HVK_MAGIC
} hvk_t;

hvk_t get_keyboard_event();

#endif