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.
14 lines
355 B
14 lines
355 B
|
|
#include "controlscheme.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; |
|
} |
|
|
|
|