fox32/src/keyboard.h

11 lines
204 B
C
Raw Normal View History

#pragma once
2022-10-25 06:36:18 +02:00
typedef unsigned char keycode_t;
2022-10-25 06:36:18 +02:00
keycode_t key_take(void);
void key_put(keycode_t code);
2022-10-25 06:36:18 +02:00
keycode_t key_convert(int sdlcode);
void key_pressed(int sdlcode);
void key_released(int sdlcode);