supertux
Public Types | Public Member Functions | Friends | List of all members
JoystickConfig Class Referencefinal

Public Types

using JoystickID = SDL_JoystickID
 

Public Member Functions

void print_joystick_mappings () const
 
int reversemap_joybutton (Control c) const
 
int reversemap_joyaxis (Control c) const
 
int reversemap_joyhat (Control c) const
 
void unbind_joystick_control (Control c)
 
void bind_joybutton (JoystickID joy_id, int button, Control c)
 
void bind_joyaxis (JoystickID joy_id, int axis, Control c)
 
void bind_joyhat (JoystickID joy_id, int dir, Control c)
 
void read (const ReaderMapping &joystick_mapping)
 
void write (Writer &writer)
 

Friends

class InputManager
 
class JoystickManager
 
class JoystickMenu
 

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