Changeset 1118 for code/branches/input/src/core/InputHandler.h
- Timestamp:
- Apr 20, 2008, 4:31:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/core/InputHandler.h
r1112 r1118 38 38 39 39 #include <string> 40 #include <list> 40 41 #include <OIS/OIS.h> 41 42 … … 48 49 enum KeybindSetting 49 50 { 50 none,51 onPress,52 onRelease,53 continuous,51 None, 52 OnPress, 53 OnRelease, 54 Continuous, 54 55 }; 55 56 } … … 58 59 : public OIS::KeyListener, public OIS::MouseListener 59 60 { 61 virtual void tick(float dt) = 0; 60 62 }; 61 63 … … 80 82 bool keyReleased (const OIS::KeyEvent &arg); 81 83 84 void tick(float dt); 85 82 86 // temporary hack 83 87 void callListeners(InputEvent &evt); 88 89 //! Stores all the keys that are down 90 std::list<OIS::KeyCode> keysDown_; 84 91 85 92 /** denotes the maximum number of different keys there are in OIS. … … 114 121 ~InputHandlerGUI(); 115 122 123 void tick(float dt); 124 116 125 private: 117 126 // input events
Note: See TracChangeset
for help on using the changeset viewer.