// controls.hpp - Mapeig de tecles per defecte dels jugadors
// © 2026 JailDesigner

#pragma once

#include <SDL3/SDL.h>

namespace Defaults::Controls {

    namespace P1 {
        constexpr SDL_Scancode ROTATE_RIGHT = SDL_SCANCODE_RIGHT;
        constexpr SDL_Scancode ROTATE_LEFT = SDL_SCANCODE_LEFT;
        constexpr SDL_Scancode THRUST = SDL_SCANCODE_UP;
        constexpr SDL_Keycode SHOOT = SDLK_SPACE;
    }  // namespace P1

    namespace P2 {
        constexpr SDL_Scancode ROTATE_RIGHT = SDL_SCANCODE_D;
        constexpr SDL_Scancode ROTATE_LEFT = SDL_SCANCODE_A;
        constexpr SDL_Scancode THRUST = SDL_SCANCODE_W;
        constexpr SDL_Keycode SHOOT = SDLK_LSHIFT;
    }  // namespace P2

}  // namespace Defaults::Controls
