yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::emu::input::InputBackendFactory Class Reference

Factory for creating input backends. More...

#include <input_backend.h>

Public Types

enum class  BackendType { SDL2 , SDL3 , NULL_BACKEND }
 

Static Public Member Functions

static std::unique_ptr< IInputBackendCreate (BackendType type)
 

Detailed Description

Factory for creating input backends.

Definition at line 135 of file input_backend.h.

Member Enumeration Documentation

◆ BackendType

Enumerator
SDL2 
SDL3 
NULL_BACKEND 

Definition at line 137 of file input_backend.h.

Member Function Documentation

◆ Create()

std::unique_ptr< IInputBackend > yaze::emu::input::InputBackendFactory::Create ( BackendType  type)
static
Todo:
Implement SDL3 backend when SDL3 is stable

Definition at line 177 of file input_backend.cc.

References LOG_ERROR, LOG_WARN, NULL_BACKEND, SDL2, and SDL3.

Referenced by yaze::emu::input::InputManager::Initialize().


The documentation for this class was generated from the following files: