Changeset 3285 for code/branches/core4/src/core/input/JoyStick.h
- Timestamp:
- Jul 13, 2009, 6:41:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/JoyStick.h
r3274 r3285 38 38 namespace orxonox 39 39 { 40 struct JoyStickTraits 41 { 42 typedef JoyStick DeviceClass; 43 typedef OIS::JoyStick OISDeviceClass; 44 typedef JoyStickButtonCode::ByEnum ButtonType; 45 typedef JoyStickButtonCode::ByEnum ButtonTypeParam; 46 static const OIS::Type OISDeviceValue = OIS::OISJoyStick; 47 }; 48 40 49 /** 41 50 @brief … … 93 102 bool vector3Moved (const OIS::JoyStickEvent &arg, int id) { return true; } 94 103 104 static std::string getClassNameImpl() { return "JoyStick"; } 105 95 106 std::string idString_; //!< ID string generated by the number of knobs and the device name 96 107 int povStates_[4]; //!< Internal states for the POVs
Note: See TracChangeset
for help on using the changeset viewer.