1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/vm/pc/keybd.h
2019-06-21 19:38:31 +02:00

18 lines
460 B
C

// 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;
keycode_t console_getkey(ctx_t *);
keycode_t console_scankeybuf(ctx_t *);
void console_addkey(ctx_t *, keycode_t);
void console_handle_input(ctx_t *ctx, SDL_Keycode key);