30 #include "common/keyboard.h" 34 extern bool8 keyboard_buf_scancodes[Common::KEYCODE_LAST];
35 extern bool8 repeats_scancodes[Common::KEYCODE_LAST];
37 void Init_direct_input();
38 void setKeyState(Common::KeyCode key,
bool pressed);
39 bool8 Read_DI_keys(uint32 key);
40 bool8 Read_DI_once_keys(uint32 key);
42 bool8 DI_key_waiting();
43 uint32 Get_DI_key_press();
44 void Clear_DI_key_buffer();
45 void SetDefaultKeys();
46 const char *GetKeyName(uint32 key);