+ //! Adds a new mouse binding
+ /*!
+ A binding will fail to be added if the binding already exists, or if the
+ string is invalid.
+ @return true if the binding could be added; false if it could not.
+ */
+ bool add_mouse(const std::string &button, int id);
+
+ //! Removes a mouse binding
+ /*!
+ @return The id of the binding that was removed, or '< 0' if none were
+ removed.
+ */
+ int remove_mouse(const std::string &button);
+
+ //! Adds a new key binding