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