summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Android/Android.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android/Android.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Android/Android.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.h b/Source/Core/InputCommon/ControllerInterface/Android/Android.h
index bf588719c2..deb23539ce 100644
--- a/Source/Core/InputCommon/ControllerInterface/Android/Android.h
+++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.h
@@ -41,6 +41,19 @@ private:
const ButtonManager::ButtonType _index;
const float _neg;
};
+ class Motor : public Core::Device::Output
+ {
+ public:
+ Motor(int padID, ButtonManager::ButtonType index) : _padID(padID), _index(index) {}
+ ~Motor();
+ std::string GetName() const override;
+ void SetState(ControlState state) override;
+
+ private:
+ const int _padID;
+ const ButtonManager::ButtonType _index;
+ static void Rumble(int padID, double state);
+ };
public:
Touchscreen(int padID);