mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00

The keyboard and mouse device mapping options did nothing at all, mostly because of lack of support for separating inputs from multiple devices. The joystick options were useless when you have two of the same kind of controller, and you can achieve the same thing with controller configuration files.
112 lines
2.1 KiB
ReStructuredText
112 lines
2.1 KiB
ReStructuredText
SDL-Specific Commandline Options
|
||
================================
|
||
|
||
|
||
This section contains configuration options that are specific to any build
|
||
supported by SDL (including Windows where compiled as SDL instead of
|
||
native).
|
||
|
||
|
||
|
||
Performance Options
|
||
-------------------
|
||
|
||
.. _mame-scommandline-sdlvideofps:
|
||
|
||
**-[no]sdlvideofps**
|
||
|
||
Enable output of benchmark data on the SDL video subsystem, including your
|
||
system’s video driver, X server (if applicable), and OpenGL stack in
|
||
**-video opengl** mode.
|
||
|
||
|
||
Video Options
|
||
-------------
|
||
|
||
.. _mame-scommandline-centerh:
|
||
|
||
**-[no]centerh**
|
||
|
||
Center horizontally within the view area. Default is ON (**-centerh**).
|
||
|
||
.. _mame-scommandline-centerv:
|
||
|
||
**-[no]centerv**
|
||
|
||
Center vertically within the view area. Default is ON (**-centerv**).
|
||
|
||
|
||
Video Soft-Specific Options
|
||
---------------------------
|
||
|
||
.. _mame-scommandline-scalemode:
|
||
|
||
**-scalemode**
|
||
|
||
Scale mode: none, async, yv12, yuy2, yv12x2, yuy2x2 (**-video soft** only).
|
||
Default is *none*.
|
||
|
||
|
||
SDL Keyboard Mapping
|
||
--------------------
|
||
|
||
.. _mame-scommandline-keymap:
|
||
|
||
**-keymap**
|
||
|
||
Enable keymap. Default is OFF (**-nokeymap**)
|
||
|
||
.. _mame-scommandline-keymapfile:
|
||
|
||
**-keymap_file** *<file>*
|
||
|
||
Keymap file name. Default is ``keymap.dat``.
|
||
|
||
|
||
SDL Joystick Mapping
|
||
--------------------
|
||
|
||
.. _mame-scommandline-sixaxis:
|
||
|
||
**-sixaxis**
|
||
|
||
Use special handling for PlayStation 3 SixAxis controllers. Default is OFF
|
||
(**-nosixaxis**)
|
||
|
||
|
||
SDL Lightgun Mapping
|
||
--------------------
|
||
|
||
.. _mame-scommandline-lightgunindex:
|
||
|
||
|
|
||
| **-lightgun_index1** *<name>*
|
||
| **-lightgun_index2** *<name>*
|
||
| ...
|
||
| **-lightgun_index8** *<name>*
|
||
|
|
||
|
||
Device name or ID mapped to a given lightgun slot.
|
||
|
||
|
||
SDL Low-level Driver Options
|
||
----------------------------
|
||
|
||
.. _mame-scommandline-videodriver:
|
||
|
||
**-videodriver** *<driver>*
|
||
|
||
SDL video driver to use ('x11', 'directfb', ... or '*auto*' for SDL default)
|
||
|
||
.. _mame-scommandline-audiodriver:
|
||
|
||
**-audiodriver** *<driver>*
|
||
|
||
SDL audio driver to use ('alsa', 'arts', ... or '*auto*' for SDL default)
|
||
|
||
.. _mame-scommandline-gllib:
|
||
|
||
**-gl_lib** *<driver>*
|
||
|
||
Alternative **libGL.so** to use; '*auto*' for system default
|