Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2009, 11:10:37 PM (14 years ago)
Author:
rgrieder
Message:

Changed config value handling in the KeyBinder. Doesn't change the interface though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/input/KeyDetector.cc

    r6417 r6428  
    6464    {
    6565        // Assign every button/axis the same command, but with its name as argument
    66         clearBindings();
    6766        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_);
    7268    }
    7369
Note: See TracChangeset for help on using the changeset viewer.