2020-12-23 16:38:22 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-12-23 19:36:11 +00:00
|
|
|
#include "frontends/libretro/joypadbase.h"
|
2020-12-23 16:38:22 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
class Analog : public JoypadBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Analog();
|
|
|
|
|
|
|
|
virtual double getAxis(int i) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::vector<std::pair<unsigned, unsigned> > myAxisCodes;
|
|
|
|
};
|