controller: give the DualShock 4 the DualSense pad path and release p… (#453)

controller: give the DualShock 4 the DualSense pad path and release pads on exit
This commit is contained in:
Mehmet Cambaz
2026-09-04 01:10:57 +03:00
committed by GitHub
parent 2fe5c150bc
commit c2189de88f
5 changed files with 50 additions and 8 deletions
+5 -3
View File
@@ -7,11 +7,13 @@ namespace Libs::Controller {
void Initialize();
void Shutdown();
void EmergencyShutdown();
struct Lifecycle {
static constexpr const char* name = "Controller";
static constexpr auto initialize = Libs::Controller::Initialize;
static constexpr auto shutdown = Libs::Controller::Shutdown;
static constexpr const char* name = "Controller";
static constexpr auto initialize = Libs::Controller::Initialize;
static constexpr auto shutdown = Libs::Controller::Shutdown;
static constexpr auto emergency_shutdown = Libs::Controller::EmergencyShutdown;
};
constexpr int HOST_INPUT_CONTROLLER_ID = -1000;