migrant a SDL3
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
#pragma once
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <SDL3/SDL_events.h> // Para SDL_ControllerButtonEvent
|
||||
#include <SDL3/SDL.h> // Para SDL_GamepadButton
|
||||
#include <stddef.h> // Para size_t
|
||||
#include <memory> // Para shared_ptr, unique_ptr
|
||||
#include <string> // Para string
|
||||
#include <vector> // Para vector
|
||||
class Input; // lines 8-8
|
||||
class Text; // lines 9-9
|
||||
enum class InputAction : int; // lines 10-10
|
||||
#include <SDL3/SDL_events.h> // Para SDL_Event, SDL_GamepadButtonEvent
|
||||
#include <SDL3/SDL_gamepad.h> // Para SDL_GamepadButton
|
||||
#include <stddef.h> // Para size_t
|
||||
#include <memory> // Para shared_ptr
|
||||
#include <string> // Para string
|
||||
#include <vector> // Para vector
|
||||
class Input; // lines 10-10
|
||||
class Text; // lines 11-11
|
||||
enum class InputAction : int; // lines 12-12
|
||||
|
||||
struct DefineButtonsButton
|
||||
{
|
||||
std::string label; // Texto en pantalla para el botón
|
||||
InputAction input; // Input asociado
|
||||
std::string label; // Texto en pantalla para el botón
|
||||
InputAction input; // Input asociado
|
||||
SDL_GamepadButton button; // Botón del mando correspondiente
|
||||
|
||||
// Constructor
|
||||
|
||||
Reference in New Issue
Block a user