start game physics
This commit is contained in:
+7
-3
@@ -7,10 +7,14 @@ typedef void(*keyEvent_t)(void);
|
||||
|
||||
//renderer facing
|
||||
void input_init(void);
|
||||
void input_poll(SDL_Scancode);
|
||||
void input_pollKeyDown(SDL_Scancode);
|
||||
void input_pollKeyUp(SDL_Scancode);
|
||||
|
||||
//user facing
|
||||
void input_listen(SDL_Scancode code, keyEvent_t);
|
||||
void input_removeListener(SDL_Scancode code, keyEvent_t handler);
|
||||
void input_listenKeyDown(SDL_Scancode code, keyEvent_t);
|
||||
void input_removeKeyDownListener(SDL_Scancode code, keyEvent_t handler);
|
||||
|
||||
void input_listenKeyUp(SDL_Scancode code, keyEvent_t);
|
||||
void input_removeKeyUpListener(SDL_Scancode code, keyEvent_t handler);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user