Configure joystick buttons in ScummVM
To answer this post: https://forum.recalbox.com/topic/11492/scummvm-problem-with-ps3-controller-update-17-12-02
I've modified ScummVM sources to allow the configuration of joystick buttons (with SDL codes).
Example (adding this to the configuration file, change the default behaviour):
[scummvm]
joystick_button_lmouse=0
joystick_button_rmouse=1
joystick_button_escape=9
joystick_button_skip=3
joystick_button_pause=2
joystick_button_menu=10
joystick_button_vkeyboard=8
Default behavior is:
joystick_button_lmouse=0
joystick_button_rmouse=2
joystick_button_escape=3
joystick_button_skip=1
joystick_button_pause=4
joystick_button_menu=5
joystick_button_vkeyboard=7
I will create a PR soon for that.