Changeset 1637 for code/branches/input/src/core/input/KeyDetector.cc
- Timestamp:
- Jul 20, 2008, 6:49:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/core/input/KeyDetector.cc
r1630 r1637 66 66 True if loading succeeded. 67 67 */ 68 void KeyDetector::loadBindings( )68 void KeyDetector::loadBindings(const std::string& command) 69 69 { 70 70 clearBindings(); 71 71 setConfigValues(); 72 this->command_ = command; 72 73 } 73 74 … … 75 76 { 76 77 SimpleCommand* cmd = new SimpleCommand(); 77 cmd->evaluation_ = CommandExecutor::evaluate( "storeKeyStroke" + button.name_);78 cmd->evaluation_ = CommandExecutor::evaluate(this->command_ + " " + button.name_); 78 79 button.commands_[KeybindMode::OnPress] = new BaseCommand*[1]; 79 80 button.commands_[KeybindMode::OnPress][0] = cmd;
Note: See TracChangeset
for help on using the changeset viewer.