2019-06-21 19:38:31 +02:00
|
|
|
// The OS/K Team licenses this file to you under the MIT license.
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
#define KEYBUFSIZE 8192
|
|
|
|
|
|
|
|
typedef uint keycode_t;
|
|
|
|
|
|
|
|
extern keycode_t keybuf[KEYBUFSIZE];
|
|
|
|
extern keycode_t *keybuf_last;
|
|
|
|
extern keycode_t *keybuf_ptr;
|
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
keycode_t console_getkey(void);
|
|
|
|
keycode_t console_scankeybuf(void);
|
2019-06-21 19:38:31 +02:00
|
|
|
|
2019-08-03 19:01:12 +02:00
|
|
|
void console_addkey(keycode_t);
|
|
|
|
void console_handle_input(SDL_Keycode key);
|
2019-06-21 19:38:31 +02:00
|
|
|
|