| Index: trunk/Source/modules/gamepad/GamepadCommon.h
|
| ===================================================================
|
| --- trunk/Source/modules/gamepad/GamepadCommon.h (revision 174432)
|
| +++ trunk/Source/modules/gamepad/GamepadCommon.h (working copy)
|
| @@ -36,7 +36,7 @@
|
| public:
|
| GamepadCommon();
|
| ~GamepadCommon();
|
| - typedef Vector<double> DoubleVector;
|
| + typedef Vector<float> FloatVector;
|
|
|
| const String& id() const { return m_id; }
|
| void setId(const String& id) { m_id = id; }
|
| @@ -53,8 +53,8 @@
|
| const String& mapping() const { return m_mapping; }
|
| void setMapping(const String& val) { m_mapping = val; }
|
|
|
| - const DoubleVector& axes() const { return m_axes; }
|
| - void setAxes(unsigned count, const double* data);
|
| + const FloatVector& axes() const { return m_axes; }
|
| + void setAxes(unsigned count, const float* data);
|
|
|
| protected:
|
| String m_id;
|
| @@ -62,7 +62,7 @@
|
| bool m_connected;
|
| unsigned long long m_timestamp;
|
| String m_mapping;
|
| - DoubleVector m_axes;
|
| + FloatVector m_axes;
|
| };
|
|
|
| } // namespace WebCore
|
|
|