merdes varies

This commit is contained in:
2025-08-08 21:06:28 +02:00
parent 98f34c0a09
commit 0fc83cf9c1
11 changed files with 34 additions and 26 deletions

View File

@@ -2,9 +2,10 @@
#include <SDL3/SDL.h> // Para SDL_LogInfo, SDL_LogCategory
#include "input.h"
#include "mouse.h" // Para handleEvent
#include "screen.h"
#include "input.h" // Para Input
#include "mouse.h" // Para handleEvent
#include "options.h" // Para Options
#include "screen.h" // Para Screen
#include "section.hpp" // Para Name, Options, name, options
#include "ui/service_menu.h" // Para ServiceMenu
@@ -34,6 +35,8 @@ void check(const SDL_Event &event) {
Mouse::handleEvent(event);
static auto *input_ = Input::get();
input_->handleEvent(event);
if (input_->handleEvent(event)) {
Options::gamepad_manager.assignAndLinkGamepads();
}
}
} // namespace GlobalEvents