- Timestamp:
- Dec 9, 2009, 11:17:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/input/KeyBinder.h
r6214 r6311 35 35 #include <string> 36 36 #include <vector> 37 #include <map> 37 38 #include <boost/shared_ptr.hpp> 38 39 … … 66 67 bool setBinding(const std::string& binding, const std::string& name, bool bTemporary = false); 67 68 std::string getBinding(std::string commandName); //tolua_export 69 std::string getBinding(std::string commandName, unsigned int index); //tolua_export 70 unsigned int getNumberOfBindings(std::string commandName); //tolua_export 71 68 72 const std::string& getBindingsFilename() 69 73 { return this->filename_; } … … 135 139 std::vector<HalfAxis*> allHalfAxes_; 136 140 //! Maps input commands to all Button names, including half axes 137 std::map< std::string, std::string> allCommands_;141 std::map< std::string, std::vector<std::string> > allCommands_; 138 142 139 143 /** … … 156 160 157 161 private: 162 void addButtonToCommand(std::string command, Button* button); 163 158 164 //##### ConfigValues ##### 159 165 //! Whether to filter small value analog input
Note: See TracChangeset
for help on using the changeset viewer.