21 #ifndef BUBBA_3D_BUTTONSTATUS_H 22 #define BUBBA_3D_BUTTONSTATUS_H 61 enum Activator {NONE = 1024,KEYBOARD = 256, MOUSE = 512, JOYSTICK_0 = 1, JOYSTICK_1 = 2, JOYSTICK_2 = 4,
62 JOYSTICK_3 = 8, JOYSTICK_4 = 16, JOYSTICK_5 = 32, JOYSTICK_6 = 64, JOYSTICK_7 = 128, JOYSTICK = 255};
65 static Activator activatorFromJoystickNumber(
int n);
96 bool isActive(Activator activator);
103 void addButton(Activator activator,
float value);
107 std::map<Activator,float> buttons;
108 float maxValue = NO_MAX;
109 Activator maxValueActivator;
110 static const float NO_MAX;
115 #endif //BUBBA_3D_BUTTONSTATUS_H
The class that contains information about a function at the state of creation.
Activator getMaxActivator()