Scroll to navigation

al_set_joystick_mappings(3alleg5) al_set_joystick_mappings(3alleg5)

NAME

al_set_joystick_mappings - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro.h>
bool al_set_joystick_mappings(const char *filename)
    

DESCRIPTION

Sets the joystick mappings from a file. This can be called multiple times, adding to and overriding existing mappings. This uses the SDL version 2.0.16 format mappings. This can and typically should be called before calling al_install_joystick.

SINCE

5.2.11

SEE ALSO

al_set_joystick_mappings_f(3alleg5)

[Unstable API]: New API.

Allegro reference manual