Changeset 3285 for code/branches/core4/src/core/input/Keyboard.h
- Timestamp:
- Jul 13, 2009, 6:41:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/Keyboard.h
r3275 r3285 31 31 32 32 #include "InputPrereqs.h" 33 #include "InputHandler.h" 33 34 #include "InputDevice.h" 34 35 35 36 namespace orxonox 36 37 { 38 struct KeyboardTraits 39 { 40 typedef Keyboard DeviceClass; 41 typedef OIS::Keyboard OISDeviceClass; 42 typedef KeyEvent ButtonType; 43 typedef KeyEvent& ButtonTypeParam; 44 static const OIS::Type OISDeviceValue = OIS::OISKeyboard; 45 }; 46 37 47 /** 38 48 @brief … … 63 73 bool keyReleased(const OIS::KeyEvent& arg); 64 74 75 static std::string getClassNameImpl() { return "Keyboard"; } 76 65 77 //! Bit mask representing keyboard modifiers 66 78 int modifiers_;
Note: See TracChangeset
for help on using the changeset viewer.