rpcsx/rpcs3/Emu/Io/Null/NullPadHandler.h
RipleyTom 0457f23b13 Pad Refactoring
Adds a window to setup multiple input types as once
All controllers are now handled by a single thread
[hcorion] evdev refactor
2017-09-09 00:55:03 +01:00

30 lines
452 B
C++

#pragma once
#include "Emu/Io/PadHandler.h"
class NullPadHandler final : public PadHandlerBase
{
public:
bool Init() override
{
return true;
}
std::vector<std::string> ListDevices() override
{
std::vector<std::string> nulllist;
nulllist.push_back("Default Null Device");
return nulllist;
}
bool bindPadToDevice(std::shared_ptr<Pad> pad, const std::string& device) override
{
return true;
}
void ThreadProc() override
{
}
};