48 _(
"Press the button to start calibration"))),
50 mCalibrateButton(
new Button(this,
_(
"Calibrate"),
"calibrate",
53 mDetectButton(
new Button(this,
_(
"Detect joysticks"),
"detect",
56 mJoystickEnabled(
new CheckBox(this,
_(
"Enable joystick"),
63 _(
"Use joystick if client window inactive"),
64 config.getBoolValue(
"useInactiveJoystick"),
66 mOriginalJoystickEnabled(
config.getBoolValue(
"joystickEnabled"))
114 const Widget *
const source =
event.getSource();
144 (
_(
"Press the button to start calibration"));
153 _(
"Rotate the stick and don't press buttons"));
void setSelected(const bool selected)
void setValue(const std::string &key, const std::string &value)
int getIntValue(const std::string &key) const
void setSelected(int selected)
bool isCalibrating() const
void setNumber(const int n)
static void setEnabled(const bool enabled)
static void getNames(std::vector< std::string > &names)
void setUseInactive(const bool b)
void setCaption(const std::string &caption)
ContainerPlacer getPlacer(const int x, const int y)
void setName(const std::string &name)
Button * mCalibrateButton
CheckBox * mUseInactiveCheckBox
void action(const ActionEvent &event)
void setTempEnabled(const bool sel)
bool mOriginalJoystickEnabled
Setup_Joystick(const Widget2 *const widget)
DropDown * mNamesDropDown
CheckBox * mJoystickEnabled