const std::vector<InputLayout::Configurable>& DualShock3::getConfigurables() { static std::vector<Configurable> inputs; if (inputs.empty()) { append(DualShock::getConfigurables(), inputs); inputs.push_back(Configurable(directionalPadUp, "Directional Pad Up", "directionalPadUp")); inputs.push_back(Configurable(directionalPadDown, "Directional Pad Down", "directionalPadDown")); inputs.push_back(Configurable(directionalPadLeft, "Directional Pad Left", "directionalPadLeft")); inputs.push_back(Configurable(directionalPadRight, "Directional Pad Right", "directionalPadRight")); inputs.push_back(Configurable(squareButton, "Square Button", "squareButton")); inputs.push_back(Configurable(triangleButton, "Triangle Button", "triangleButton")); inputs.push_back(Configurable(xButton, "X Button", "xButton")); inputs.push_back(Configurable(circleButton, "Circle Button", "circleButton")); inputs.push_back(Configurable(leftBumper, "Left Bumper", "leftBumper")); inputs.push_back(Configurable(rightBumper, "Right Bumper", "rightBumper")); } return inputs; }
const std::vector<InputLayout::Configurable>& DualShock::getConfigurables() { static std::vector<Configurable> inputs; if (inputs.empty()) { append(InputLayout::getConfigurables(), inputs); inputs.push_back(Configurable(leftAnalogLeftRightPivot, "Left Analog Left/Right Pivot", "leftAnalogLeftRightPivot")); inputs.push_back(Configurable(leftAnalogUpDownPivot, "Left Analog Up/Down Pivot", "leftAnalogUpDownPivot")); inputs.push_back(Configurable(rightAnalogLeftRightPivot, "Right Analog Left/Right Pivot", "rightAnalogLeftRightPivot")); inputs.push_back(Configurable(rightAnalogUpDownPivot, "Right Analog Up/Down Pivot", "rightAnalogUpDownPivot")); inputs.push_back(Configurable(leftTrigger, "Left Trigger", "leftTrigger")); inputs.push_back(Configurable(rightTrigger, "Right Trigger", "rightTrigger")); } return inputs; }
const std::vector<InputLayout::Configurable>& ThrustMasterBase::getConfigurables() { static std::vector<Configurable> inputs; if (inputs.empty()) { append(InputLayout::getConfigurables(), inputs); inputs.push_back(Configurable(forwardBackwardPivot, "Forward/Backward Pivot", "forwardBackwardPivot")); inputs.push_back(Configurable(leftRightPivot, "Left/Right Pivot", "leftRightPivot")); inputs.push_back(Configurable(twist, "Twist", "twist")); inputs.push_back(Configurable(forwardBackwardTranslation, "Forward/Backward Translation", "forwardBackwardTranslation")); inputs.push_back(Configurable(leftRightTranslation, "Left/Right Translation", "leftRightTranslation")); inputs.push_back(Configurable(upDownTranslation, "Up/Down Translation", "upDownTranslation")); } return inputs; }