Forgot to add isAnalog() function for gamepads.

This commit is contained in:
hiker 2014-10-31 16:19:31 +11:00
parent b56280761f
commit 22441c1fd8

View File

@ -62,6 +62,9 @@ public:
virtual void save(std::ofstream& stream);
void setDefaultBinds ();
virtual bool load(const XMLNode *config) OVERRIDE;
// ------------------------------------------------------------------------
/** Returns if this device uses analog axes. */
virtual bool isAnalog() const OVERRIDE { return m_is_analog; }
// ------------------------------------------------------------------------
/** Returns the number of buttons in this configuration. */