1 2 3 4 5 6 7 8 9 10 11
#ifndef INPUT_H #define INPUT_H #include <stdbool.h> #define MAX_KEY_BUFFER_SIZE 256 void Input_PressKey(unsigned int key); void Input_ReleaseKey(unsigned int key); bool Input_isKeyPressed(unsigned int key); #endif // INPUT_H