Public Member Functions | |
CJAxisBind (CBindList *_list, CBindGroup *_group, Bitu _joystick, Bitu _axis, bool _positive) | |
virtual void | ConfigName (char *buf) override |
Get configuration name, for use in writing the mapper file. | |
virtual void | BindName (char *buf) override |
Get binding name, for display in the mapper UI. | |
Bitu | GetJoystick () const |
Gets the joystick index for this instance. | |
Bitu | GetAxis () const |
Gets the axis index for this instance. | |
bool | GetPositive () const |
Gets the axis direction for this instance. | |
void | ActivateBind (Bits _value, bool ev_trigger, bool skip_action=false) override |
Activate bindings. | |
Static Public Member Functions | |
static int | GetJoystickDeadzone (int joystick, int axis, bool positive) |
Gets the deadzone for a joystick axis direction. | |
Protected Attributes | |
CBindGroup * | group |
Bitu | axis |
bool | positive |
Bitu | joystick |
Definition at line 1175 of file sdl_mapper.cpp.