947b39763f
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
18 lines
257 B
C++
18 lines
257 B
C++
#pragma once
|
|
|
|
#include "frontends/libretro/joypadbase.h"
|
|
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
class Joypad : public JoypadBase
|
|
{
|
|
public:
|
|
Joypad();
|
|
|
|
virtual double getAxis(int i) const;
|
|
|
|
private:
|
|
std::vector<std::map<unsigned, double> > myAxisCodes;
|
|
};
|