Changeset 6428 for code/trunk/src/libraries/core/input/KeyDetector.cc
- Timestamp:
- Dec 28, 2009, 11:10:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/input/KeyDetector.cc
r6417 r6428 64 64 { 65 65 // Assign every button/axis the same command, but with its name as argument 66 clearBindings();67 66 for (std::map<std::string, Button*>::const_iterator it = allButtons_.begin(); it != allButtons_.end(); ++it) 68 { 69 it->second->bindingString_ = callbackCommand_s + ' ' + it->second->groupName_ + "." + it->second->name_; 70 it->second->parse(); 71 } 67 it->second->parse(callbackCommand_s + ' ' + it->second->groupName_ + "." + it->second->name_); 72 68 } 73 69
Note: See TracChangeset
for help on using the changeset viewer.