mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-18 01:37:00 +00:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
17
src/input/api/Keyboard/KeyboardControllerProvider.h
Normal file
17
src/input/api/Keyboard/KeyboardControllerProvider.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue