mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-17 16:36:59 +00:00
17 lines
415 B
C++
17 lines
415 B
C++
#pragma once
|
|
|
|
#include "input/api/ControllerProvider.h"
|
|
|
|
#ifndef HAS_KEYBOARD
|
|
#define HAS_KEYBOARD 1
|
|
#endif
|
|
|
|
class KeyboardControllerProvider : public ControllerProviderBase
|
|
{
|
|
friend class KeyboardController;
|
|
public:
|
|
inline static InputAPI::Type kAPIType = InputAPI::Keyboard;
|
|
InputAPI::Type api() const override { return kAPIType; }
|
|
|
|
std::vector<std::shared_ptr<ControllerBase>> get_controllers() override;
|
|
};
|