mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 20:44:18 +01:00
14 lines
507 B
C++
14 lines
507 B
C++
#pragma once
|
|
|
|
#include "input/api/InputAPI.h"
|
|
#include "input/api/Controller.h"
|
|
#include "input/emulated/EmulatedController.h"
|
|
|
|
class ControllerFactory
|
|
{
|
|
public:
|
|
static ControllerPtr CreateController(InputAPI::Type api, std::string_view uuid, std::string_view display_name);
|
|
static EmulatedControllerPtr CreateEmulatedController(size_t player_index, EmulatedController::Type type);
|
|
static ControllerProviderPtr CreateControllerProvider(InputAPI::Type api, const ControllerProviderSettings& settings);
|
|
};
|