merdes varies
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user