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.
 
 
 
 
 

18 lines
503 B

#include "controlscheme.h"
#include <SDL2/SDL_scancode.h>
struct InputMap input_map;
void get_input_map(void) {
input_map.player_down = SDL_SCANCODE_S;
input_map.player_up = SDL_SCANCODE_W;
input_map.player_right = SDL_SCANCODE_D;
input_map.player_left = SDL_SCANCODE_A;
input_map.player_rope = SDL_SCANCODE_E;
input_map.player_pull_rope = SDL_SCANCODE_Q;
input_map.mute = SDL_SCANCODE_M;
input_map.pause = SDL_SCANCODE_ESCAPE;
input_map.quit = SDL_SCANCODE_Q;
}