Initial commit
This commit is contained in:
18
source/engine/input.h
Normal file
18
source/engine/input.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef INPUT_H
|
||||
#define INPUT_H
|
||||
|
||||
#include <SDL.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern int32_t mouseWheelX;
|
||||
extern int32_t mouseWheelY;
|
||||
extern int ychange;
|
||||
extern int xchange;
|
||||
extern float deltaT;
|
||||
extern int quit;
|
||||
extern SDL_Event e;
|
||||
extern uint8_t *currentKeystates;
|
||||
|
||||
void input_poll();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user