All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions | Protected Attributes
CJAxisBind Class Reference
Inheritance diagram for CJAxisBind:

List of all members.

Public Member Functions

 CJAxisBind (CBindList *_list, CBindGroup *_group, Bitu _joystick, Bitu _axis, bool _positive)
void ConfigName (char *buf)
 Get configuration name, for use in writing the mapper file.
void BindName (char *buf)
 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

Bitu axis
bool positive
Bitu joystick

Detailed Description

Definition at line 957 of file sdl_mapper.cpp.

The documentation for this class was generated from the following file: