1
1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
496 B

#include <SDL2/SDL.h>
#ifndef CRTL_H
#define CRTL_H
enum Game_Interaction {
PLAYER_UP,
PLAYER_DOWN,
PLAYER_RIGHT,
PLAYER_LEFT
};
struct InputMap {
SDL_Scancode player_up;
SDL_Scancode player_down;
SDL_Scancode player_left;
SDL_Scancode player_right;
SDL_Scancode player_rope;
SDL_Scancode player_pull_rope;
SDL_Scancode mute;
SDL_Scancode quit;
SDL_Scancode pause;
};
extern struct InputMap input_map;
void get_input_map(void);
#endif