mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
33 lines
543 B
C++
33 lines
543 B
C++
#pragma once
|
|
|
|
#include "Emu/Io/PadHandler.h"
|
|
|
|
class NullPadHandler final : public PadHandlerBase
|
|
{
|
|
public:
|
|
bool Init() override
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void init_config(pad_config* /*cfg*/, const std::string& /*name*/) override
|
|
{
|
|
}
|
|
|
|
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
|
|
{
|
|
}
|
|
};
|