#pragma once #ifdef __cplusplus extern "C" { #endif enum Key { K_LEFT, K_RIGHT, K_UP, K_DOWN, K_O }; enum KeyState { KS_UP, KS_DOWN, KS_PRESSED }; void input_update(void); int input_up(unsigned int); int input_down(unsigned int); int input_pressed(unsigned int); #ifdef __cplusplus } #endif