Changeset 6084 for code/trunk/src/libraries/core/input
- Timestamp:
- Nov 18, 2009, 11:13:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/input/InputManager.h
r5929 r6084 47 47 Manages the input devices (mouse, keyboard, joy sticks) and the input states. 48 48 49 Every input device has its own wrapper class which does the actual y input event49 Every input device has its own wrapper class which does the actually input event 50 50 distribution. The InputManager only creates reloads (on request) those devices. 51 51 … … 58 58 in the InputDevices themselves. 59 59 - The devices_ vector always has at least two elements: Keyboard (first) and mouse. 60 You best access them inte nally with InputDeviceEnumerator::Keyboard/Mouse60 You best access them internally with InputDeviceEnumerator::Keyboard/Mouse 61 61 The first joy stick is accessed with InputDeviceEnumerator::FirstJoyStick. 62 62 - Keyboard construction is mandatory , mouse and joy sticks are not. … … 94 94 95 95 Any InpuStates changes (destroy, enter, leave) and happens here. If a reload request 96 was submitted while updating, the request wil be postponed until the next update call.96 was submitted while updating, the request will be postponed until the next update call. 97 97 */ 98 98 void update(const Clock& time); … … 135 135 @brief 136 136 Activates a specific input state. 137 It might not be actuallyactivated if the priority is too low!137 It might not actually be activated if the priority is too low! 138 138 @return 139 139 False if name was not found, true otherwise. … … 172 172 InputManager(const InputManager&); 173 173 174 // Inte nal methods174 // Internal methods 175 175 void loadDevices(); 176 176 void loadMouse();
Note: See TracChangeset
for help on using the changeset viewer.