mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Adds a window to setup multiple input types as once All controllers are now handled by a single thread [hcorion] evdev refactor
30 lines
452 B
C++
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
|
|
{
|
|
}
|
|
|
|
};
|