Changeset 3310 for code/branches/core4/src/core/input/InputState.h
- Timestamp:
- Jul 19, 2009, 12:27:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/InputState.h
r3292 r3310 174 174 }; 175 175 176 inlinevoid InputState::update(float dt)176 FORCEINLINE void InputState::update(float dt) 177 177 { 178 178 for (unsigned int i = 0; i < handlers_.size(); ++i) … … 181 181 } 182 182 183 inlinevoid InputState::update(float dt, unsigned int device)183 FORCEINLINE void InputState::update(float dt, unsigned int device) 184 184 { 185 185 switch (device) … … 203 203 204 204 template <typename EventType, class Traits> 205 inlinevoid InputState::buttonEvent(unsigned int device, const typename Traits::ButtonTypeParam button)205 FORCEINLINE void InputState::buttonEvent(unsigned int device, const typename Traits::ButtonTypeParam button) 206 206 { 207 207 assert(device < handlers_.size()); … … 210 210 } 211 211 212 inlinevoid InputState::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize)212 FORCEINLINE void InputState::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize) 213 213 { 214 214 if (handlers_[mouseIndex_s] != NULL) … … 216 216 } 217 217 218 inlinevoid InputState::mouseScrolled(int abs, int rel)218 FORCEINLINE void InputState::mouseScrolled(int abs, int rel) 219 219 { 220 220 if (handlers_[mouseIndex_s] != NULL) … … 222 222 } 223 223 224 inlinevoid InputState::joyStickAxisMoved(unsigned int device, unsigned int axis, float value)224 FORCEINLINE void InputState::joyStickAxisMoved(unsigned int device, unsigned int axis, float value) 225 225 { 226 226 assert(device < handlers_.size());
Note: See TracChangeset
for help on using the changeset viewer.