Changeset 1455 for code/branches/network/src/core
- Timestamp:
- May 28, 2008, 7:06:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/InputManager.cc
r1446 r1455 662 662 ConfigValueContainer* cont = getIdentifier()->getConfigValueContainer("CoeffPos"); 663 663 assert(cont); 664 cont->set(getConvertedValue<int, std::string>(i) + " " 665 + getConvertedValue<float, std::string>(joySticksCalibration_[0].positiveCoeff[i])); 664 cont->set(i, joySticksCalibration_[0].positiveCoeff[i]); 666 665 667 666 // negative coefficient … … 676 675 cont = getIdentifier()->getConfigValueContainer("CoeffNeg"); 677 676 assert(cont); 678 cont->set(getConvertedValue<int, std::string>(i) + " " 679 + getConvertedValue<float, std::string>(joySticksCalibration_[0].negativeCoeff[i])); 677 cont->set(i, joySticksCalibration_[0].negativeCoeff[i]); 680 678 681 679 // zero states … … 697 695 cont = getIdentifier()->getConfigValueContainer("Zero"); 698 696 assert(cont); 699 cont->set(getConvertedValue<int, std::string>(i) + " " 700 + getConvertedValue<int, std::string>(joySticksCalibration_[0].zeroStates[i])); 697 cont->set(i, joySticksCalibration_[0].zeroStates[i]); 701 698 } 702 699 }
Note: See TracChangeset
for help on using the changeset viewer.