- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/core/input/ExtendedInputState.cc
r2907 r2908 402 402 } 403 403 404 void ExtendedInputState:: updateInput(float dt)404 void ExtendedInputState::tickInput(float dt) 405 405 { 406 406 for (unsigned int i = 0; i < allHandlers_.size(); ++i) 407 407 { 408 allHandlers_[i]-> updateInput(dt);409 } 410 } 411 412 void ExtendedInputState:: updateInput(float dt, unsigned int device)408 allHandlers_[i]->tickInput(dt); 409 } 410 } 411 412 void ExtendedInputState::tickInput(float dt, unsigned int device) 413 413 { 414 414 switch (device) … … 416 416 case Keyboard: 417 417 for (unsigned int i = 0; i < keyHandlers_.size(); ++i) 418 keyHandlers_[i]-> updateKey(dt);418 keyHandlers_[i]->tickKey(dt); 419 419 break; 420 420 421 421 case Mouse: 422 422 for (unsigned int i = 0; i < mouseHandlers_.size(); ++i) 423 mouseHandlers_[i]-> updateMouse(dt);423 mouseHandlers_[i]->tickMouse(dt); 424 424 break; 425 425 426 426 default: // joy sticks 427 427 for (unsigned int i = 0; i < joyStickHandlers_[device - 2].size(); ++i) 428 joyStickHandlers_[device - 2][i]-> updateJoyStick(dt, device - 2);428 joyStickHandlers_[device - 2][i]->tickJoyStick(dt, device - 2); 429 429 break; 430 430 }
Note: See TracChangeset
for help on using the changeset viewer.