#ifndef GAMEPADPADDLE_H #define GAMEPADPADDLE_H #include "linux/paddle.h" class QGamepad; class QString; class GamepadPaddle : public Paddle { public: static std::shared_ptr fromName(const QString & name); bool getButton(int i) const override; double getAxis(int i) const override; private: GamepadPaddle(const std::shared_ptr & gamepad); const std::shared_ptr myGamepad; }; #endif // GAMEPADPADDLE_H