AppleWin/source/frontends/retro/joypadbase.h
Andrea Odetti a1f67585d9 Add support for retropads, with and without analog extension.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-12-23 16:38:22 +00:00

18 lines
227 B
C++

#pragma once
#include "linux/paddle.h"
#include <vector>
#include <map>
class JoypadBase : public Paddle
{
public:
JoypadBase();
virtual bool getButton(int i) const;
private:
std::vector<unsigned> myButtonCodes;
};