diff --git a/src/player.c b/src/player.c index 6589109..4fada2e 100644 --- a/src/player.c +++ b/src/player.c @@ -26,8 +26,8 @@ object_t* create_player() { player_instance->evt_update = &player_update; player_instance->sprite = make_sprite("player.png", 0, 0); - add_key_listener(SDL_SCANCODE_LEFT, SDL_SCANCODE_RIGHT, &player_axis_horizontal); - add_key_listener(SDL_SCANCODE_DOWN, SDL_SCANCODE_UP, &player_axis_vertical); + add_key_listener(SDL_SCANCODE_A, SDL_SCANCODE_D, &player_axis_horizontal); + add_key_listener(SDL_SCANCODE_S, SDL_SCANCODE_W, &player_axis_vertical); return player_instance; }