Changeset 2101 for code/branches/objecthierarchy/src/core/input/KeyBinder.h
- Timestamp:
- Nov 2, 2008, 12:09:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/input/KeyBinder.h
r2001 r2101 44 44 #include "InputCommands.h" 45 45 #include "JoyStickDeviceNumberListener.h" 46 #include "core/ConfigFileManager.h" 46 47 47 48 namespace orxonox … … 59 60 virtual ~KeyBinder(); 60 61 61 void loadBindings(const std::string& filename );62 void loadBindings(const std::string& filename, const std::string& defaultFilename); 62 63 void clearBindings(); 63 64 bool setBinding(const std::string& binding, const std::string& name, bool bTemporary = false); … … 142 143 float deriveTime_; 143 144 144 //! Config file used. ""in case of KeyDetector. Also indicates whether we've already loaded.145 std::stringconfigFile_;145 //! Config file used. ConfigFileType::NoType in case of KeyDetector. Also indicates whether we've already loaded. 146 ConfigFileType configFile_; 146 147 147 148 private: 148 149 //##### ConfigValues ##### 149 //! Filename of default keybindings.150 std::string defaultKeybindings_;151 150 //! Whether to filter small value analog input 152 151 bool bFilterAnalogNoise_;
Note: See TracChangeset
for help on using the changeset viewer.