ppsspp/Windows/InputDevice.h
Unknown W. Brackets dcd2c26214 Treat the keyboard and pads differently.
We basically never want two pads active at once, but keyboard is
different.  So, they need to be treated differently.

Fixes #1212.
2013-04-07 18:42:23 -07:00

19 lines
318 B
C++

#pragma once
#include <list>
#include <memory>
#include "../Common/CommonTypes.h"
struct InputState;
class InputDevice
{
public:
enum { UPDATESTATE_SKIP_PAD = 0x1234};
virtual int UpdateState(InputState &input_state) = 0;
virtual bool IsPad() = 0;
};
std::list<std::shared_ptr<InputDevice>> getInputDevices();