Changeset 1641 for code/branches/gui/src/core/input/KeyBinder.cc
- Timestamp:
- Jul 22, 2008, 9:16:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/input/KeyBinder.cc
r1638 r1641 374 374 } 375 375 376 void KeyBinder::tickJoyStick(float dt, int device)376 void KeyBinder::tickJoyStick(float dt, unsigned int joyStick) 377 377 { 378 378 tickDevices(8, nHalfAxes_s); … … 448 448 449 449 450 void KeyBinder::joyStickButtonPressed (unsigned int joyStickID, unsigned int button)451 { joyStickButtons_[ button].execute(KeybindMode::OnPress); }452 453 void KeyBinder::joyStickButtonReleased(unsigned int joyStickID, unsigned int button)454 { joyStickButtons_[ button].execute(KeybindMode::OnRelease); }455 456 void KeyBinder::joyStickButtonHeld (unsigned int joyStickID, unsigned int button)457 { joyStickButtons_[ button].execute(KeybindMode::OnHold); }450 void KeyBinder::joyStickButtonPressed (unsigned int joyStickID, JoyStickButton::Enum id) 451 { joyStickButtons_[id].execute(KeybindMode::OnPress); } 452 453 void KeyBinder::joyStickButtonReleased(unsigned int joyStickID, JoyStickButton::Enum id) 454 { joyStickButtons_[id].execute(KeybindMode::OnRelease); } 455 456 void KeyBinder::joyStickButtonHeld (unsigned int joyStickID, JoyStickButton::Enum id) 457 { joyStickButtons_[id].execute(KeybindMode::OnHold); } 458 458 459 459 /**
Note: See TracChangeset
for help on using the changeset viewer.