Changeset 10918 for code/branches/cpp11_v2/src/libraries/core/input
- Timestamp:
- Dec 5, 2015, 7:10:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/KeyBinder.cc
r10916 r10918 188 188 { 189 189 while (joyStickAxes_.size() < joySticks_.size()) 190 joyStickAxes_.push_back(std:: shared_ptr<JoyStickAxisVector>(std::make_shared<JoyStickAxisVector>()));190 joyStickAxes_.push_back(std::make_shared<JoyStickAxisVector>()); 191 191 while (joyStickButtons_.size() < joySticks_.size()) 192 joyStickButtons_.push_back(std:: shared_ptr<JoyStickButtonVector>(std::make_shared<JoyStickButtonVector>()));192 joyStickButtons_.push_back(std::make_shared<JoyStickButtonVector>()); 193 193 // For the case the new size is smaller 194 194 this->joyStickAxes_.resize(joySticks_.size());
Note: See TracChangeset
for help on using the changeset viewer.