Previous 199869 Revisions Next

r191886 Friday 13th January, 2023 at 16:13:59 UTC by Vasantha Crabb
osd: Added support for mapping files to sdlgame joystick provider and made it default with SDL.

This changes behaviour, however I think it's a net positive:
* Most games using Steam Input or SDL2 to read game controllers have
 this behaviour, so users have come to expect it.
* This module is better at giving meaningful names to buttons on
 common controller, and assigning axes consistently.
* Button/axis mapping files using a widely-used format are supported.
* The old behaviour is still available with `-joystickprovider sdljoy`
 if anyone wants it.

The new option for controller mapping files is in the general OSD
options rather than SDL options as it can be extended to DirectInput in
the future.
[/branches/new68k/docs/source/commandline]commandline-all.rst
[/branches/new68k/src/osd/modules/input]input_sdl.cpp input_xinput.cpp
[/branches/new68k/src/osd/modules/lib]osdobj_common.cpp osdobj_common.h


Previous 199869 Revisions Next


© 1997-2024 The MAME Team