21 #ifndef BUBBA_3D_JOYSTICKAXIS_H 22 #define BUBBA_3D_JOYSTICKAXIS_H 24 #include <SFML/Window.hpp> 25 #include <ControlStatus.h> 27 #include <IJoystickTranslation.h> 35 enum Separation {POSITIVE,NEGATIVE};
45 JoystickAxis(IJoystickTranslation::Axis axis,
bool dual);
51 JoystickAxis(IJoystickTranslation::Axis axis, Separation separation);
59 JoystickAxis(IJoystickTranslation::Axis axisPos, IJoystickTranslation::Axis axisNeg);
77 IJoystickTranslation::Axis axisPos, axisNeg;
78 bool separated =
false, doubleAxed =
false;
79 Separation separation;
87 #endif //BUBBA_3D_JOYSTICKAXIS_H The class that contains information about a function at the state of creation.
ControlStatus::Activator getActivator()
static float removeDeadZone(float val)
JoystickAxis(IJoystickTranslation::Axis axis, bool dual)