2021-11-30 21:29:18 -06:00
|
|
|
#ifndef INPUT_H
|
|
|
|
#define INPUT_H
|
|
|
|
|
2022-01-19 16:43:21 -06:00
|
|
|
#include <SDL2/SDL.h>
|
2021-11-30 21:29:18 -06:00
|
|
|
#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
|