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

Public Member Functions

 JoystickManager (InputManager *parent, JoystickConfig &joystick_config)
 
void process_hat_event (const SDL_JoyHatEvent &jhat)
 
void process_axis_event (const SDL_JoyAxisEvent &jaxis)
 
void process_button_event (const SDL_JoyButtonEvent &jbutton)
 
void bind_next_event_to (Control id)
 
void set_joy_controls (Control id, bool value)
 
void on_joystick_added (int joystick_index)
 
void on_joystick_removed (int instance_id)
 
int get_num_joysticks () const
 

Friends

class KeyboardManager
 

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