Index: Source/modules/gamepad/GamepadButton.h |
diff --git a/Source/modules/gamepad/GamepadButton.h b/Source/modules/gamepad/GamepadButton.h |
index 59392d24bacfc41d437f0a0ac92f8bff4b2284ef..422cf1df858b94a0ae6eab9d8502600a19965b45 100644 |
--- a/Source/modules/gamepad/GamepadButton.h |
+++ b/Source/modules/gamepad/GamepadButton.h |
@@ -17,8 +17,8 @@ public: |
static GamepadButton* create(); |
~GamepadButton(); |
- float value() const { return m_value; } |
- void setValue(float val) { m_value = val; } |
+ double value() const { return m_value; } |
+ void setValue(double val) { m_value = val; } |
bool pressed() const { return m_pressed; } |
void setPressed(bool val) { m_pressed = val; } |
@@ -27,7 +27,7 @@ public: |
private: |
GamepadButton(); |
- float m_value; |
+ double m_value; |
bool m_pressed; |
}; |