Changeset 3306 for code/branches/core4/src/core/input/JoyStick.h
- Timestamp:
- Jul 19, 2009, 1:13:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/JoyStick.h
r3286 r3306 71 71 void setConfigValues(); 72 72 73 //! Returns the ID stringgenerated from the number of knobs and the device name74 const std::string& get IDString() const { return this->idString_; }73 //! Returns the name generated from the number of knobs and the device name 74 const std::string& getDeviceName() const { return this->deviceName_; } 75 75 76 76 private: … … 106 106 static std::string getClassNameImpl() { return "JoyStick"; } 107 107 108 std::string idString_; //!< ID stringgenerated by the number of knobs and the device name108 std::string deviceName_; //!< Name generated by the number of knobs and the device name 109 109 int povStates_[4]; //!< Internal states for the POVs 110 110 int sliderStates_[4][2]; //!< Internal states for the Sliders (each slider has X and Y!) … … 122 122 std::string calibrationFilename_; //!< Joy stick calibration ini filename 123 123 124 //! Contains a list of all ID strings to avoid duplicates125 static std::vector<std::string> idStrings_s;124 //! Contains a list of all names to avoid duplicates 125 static std::vector<std::string> deviceNames_s; 126 126 127 127 //!< Maximum number of slider axes
Note: See TracChangeset
for help on using the changeset viewer.