toaruos/boot/kbd.h
2021-06-14 11:11:37 +09:00

13 lines
232 B
C

#pragma once
#define KBD_SCAN_DOWN 0x50
#define KBD_SCAN_UP 0x48
#define KBD_SCAN_LEFT 0x4B
#define KBD_SCAN_RIGHT 0x4D
#define KBD_SCAN_ENTER 0x1C
#define KBD_SCAN_1 2
#define KBD_SCAN_9 10
int read_scancode(void);