tabs/kernel/drivers/keyboard/keycodes.c
2020-01-09 16:53:06 +01:00

45 lines
No EOL
892 B
C

#ifndef DRIVERS_KEYBOARD_KEYCODES_C
#define DRIVERS_KEYBOARD_KEYCODES_C
typedef enum keycode_enum {
KEYCODE_A = 'A',
KEYCODE_B = 'B',
KEYCODE_C = 'C',
KEYCODE_D = 'D',
KEYCODE_E = 'E',
KEYCODE_F = 'F',
KEYCODE_G = 'G',
KEYCODE_H = 'H',
KEYCODE_I = 'I',
KEYCODE_J = 'J',
KEYCODE_K = 'K',
KEYCODE_L = 'L',
KEYCODE_M = 'M',
KEYCODE_N = 'N',
KEYCODE_O = 'O',
KEYCODE_P = 'P',
KEYCODE_Q = 'Q',
KEYCODE_R = 'R',
KEYCODE_S = 'S',
KEYCODE_T = 'T',
KEYCODE_U = 'U',
KEYCODE_V = 'V',
KEYCODE_W = 'W',
KEYCODE_X = 'X',
KEYCODE_Y = 'Y',
KEYCODE_Z = 'Z',
KEYCODE_SPACE = ' ',
KEYCODE_BACKSPACE = 0x08,
KEYCODE_NEWLINE = '\n',
KEYCODE_SHIFT_UP,
KEYCODE_SHIFT_DOWN,
KEYCODE_CAPS_UP,
KEYCODE_CAPS_DOWN,
KEYCODE_UNKNOWN
} keycode;
#endif //DRIVERS_KEYBOARD_KEYCODES_C