Changeset 2908 for code/branches/questsystem5/src/core/input/KeyBinder.h
- 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/KeyBinder.h
r2907 r2908 68 68 69 69 protected: // functions 70 void updateInput(float dt);71 void updateKey(float dt) { }72 void updateMouse(float dt);73 void updateJoyStick(float dt, unsigned int joyStick);70 void tickInput(float dt); 71 void tickKey(float dt) { } 72 void tickMouse(float dt); 73 void tickJoyStick(float dt, unsigned int joyStick); 74 74 // internal 75 75 void tickHalfAxis(HalfAxis& halfAxis); … … 134 134 @brief 135 135 Commands that have additional parameters (axes) are executed at the end of 136 update() so that all values can be buffered for single execution.136 the tick() so that all values can be buffered for single execution. 137 137 */ 138 138 std::vector<BufferedParamCommand*> paramCommandBuffer_; … … 200 200 { joyStickButtons_[joyStickID][id].execute(KeybindMode::OnHold); } 201 201 202 inline void KeyBinder:: updateInput(float dt)202 inline void KeyBinder::tickInput(float dt) 203 203 { 204 204 // execute all buffered bindings (additional parameter)
Note: See TracChangeset
for help on using the changeset viewer.