00001 /* 00002 * JoystickOptions.hpp 00003 * 00004 * Created on: Oct 25, 2011 00005 * Author: mriedel 00006 */ 00007 00008 #ifndef JOYSTICKOPTIONS_HPP_ 00009 #define JOYSTICKOPTIONS_HPP_ 00010 00011 #include <telekyb_defines/telekyb_defines.hpp> 00012 #include <telekyb_base/Base.hpp> 00013 #include <telekyb_base/Options.hpp> 00014 00015 namespace TELEKYB_NAMESPACE 00016 { 00017 00018 class JoystickOptions : public OptionContainer, public Singleton<JoystickOptions> 00019 { 00020 public: 00021 Option<std::string>* tDevicePath; 00022 Option<double>* tDeadZone; 00023 Option<double>* tAutoRepeatRate; 00024 Option<double>* tCoalesceInterval; 00025 00026 Option<std::string>* tPubName; 00027 Option< std::vector<int> >* tButtonRemapping; 00028 Option< std::vector<int> >* tAxesRemapping; 00029 Option< std::vector<double> >* tAxisMultiplier; 00030 00031 Option< bool >* tPublishVector3; 00032 00033 JoystickOptions(); 00034 }; 00035 00036 } // namespace 00037 00038 #endif /* JOYSTICKOPTIONS_HPP_ */