diff options
author | 2023-02-18 06:18:45 +1100 | |
---|---|---|
committer | 2023-02-18 06:18:45 +1100 | |
commit | d4589e0b29d6085072ff635d87c3d95c21813a58 (patch) | |
tree | c0d3283ecdd99bd380fc155f4e09b7f4bd573116 /docs/source/advanced | |
parent | 20d7135179ffe9959f4bfb759a0e5735b7aaaf15 (diff) |
Input refactoring:
osd/modules/input, emu/inpttype.cpp: Made most default joystick
assignments supplied by input modules. Input modules take available
controls into consideration when generating default assignments.
emu/inpttype.ipp: Added a separate "Back" UI input separate from Cancel.
You may want an easier to hit combination for moving to the previous
menu than for exiting or cancelling input. They both default to Escape.
emu/inpttype.ipp: Added a UI Help control. Currently only used by
analog inputs menu
emu/inpttype.h: Moved I/O port field type enum to its own header and
sorted UI controls so they appear in a more logical order.
ui: Don't use UI Select to restore defaults - people should be getting
used to the UI Clear input by now. UI Select cycles multi-value items
instead.
ui/inputmap.cpp: Don't use immediate cancel to cycle between clearing
and restoring default assignment (use UI Clear instead).
osd: Reduced the number of files needing to include the dreaded emu.h.
Got some implementation out of headers.
Diffstat (limited to 'docs/source/advanced')
-rw-r--r-- | docs/source/advanced/bgfx.rst | 14 | ||||
-rw-r--r-- | docs/source/advanced/ctrlr_config.rst | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/docs/source/advanced/bgfx.rst b/docs/source/advanced/bgfx.rst index 388ea66c987..bb6e4205fa3 100644 --- a/docs/source/advanced/bgfx.rst +++ b/docs/source/advanced/bgfx.rst @@ -155,7 +155,7 @@ bgfx_screen_chains we want to give each player their own full screen display (two physical monitors) along with the LCD, we’ll go with:: - -numscreens 2 -view0 "Player 1" -view1 "Player 2" -video bgfx -bgfx_screen_chains hlsl,unfiltered,unfiltered:hlsl,unfiltered,unfiltered + -numscreens 2 -view0 "Player 1" -view1 "Player 2" -video bgfx -bgfx_screen_chains hlsl,unfiltered:hlsl,unfiltered This sets up the view for each display respectively, keeping HLSL effect on the CRT for each window (physical display) while going unfiltered for the @@ -164,8 +164,7 @@ bgfx_screen_chains If using only one window (one display), keep in mind the game still has three screens, so we would use:: - bgfx_screen_chains hlsl,unfiltered,unfiltered`` - + bgfx_screen_chains hlsl,unfiltered,unfiltered Note that the commas are on the outside edges, and any colons are in the middle. @@ -177,9 +176,6 @@ bgfx_shadow_mask Tweaking BGFX HLSL Settings inside MAME --------------------------------------- -*Warning: Currently BGFX HLSL settings are not saved or loaded from any -configuration files. This is expected to change in the future.* - Start by loading MAME with the game of your choice (e.g. **mame pacman**). The tilde key (**~**) brings up the on-screen display options. Use up and down @@ -189,6 +185,12 @@ these settings. Note that settings are individually changeable on a per-screen basis. +BGFX slider settings are saved per-system in CFG files. If the +``bgfx_screen_chains`` setting has been set (either in an INI file or on the +command line), it will set the initial effects. If the ``bgfx_screen_chains`` +setting has not been set, MAME will use the effects you chose the last time you +ran the system. + Using the included pillarbox filters ------------------------------------ diff --git a/docs/source/advanced/ctrlr_config.rst b/docs/source/advanced/ctrlr_config.rst index 7c4f5073638..5973832d2ab 100644 --- a/docs/source/advanced/ctrlr_config.rst +++ b/docs/source/advanced/ctrlr_config.rst @@ -147,7 +147,7 @@ override the default control assignments for emulated inputs by type: .. code-block:: XML <input> - <port type="UI_CONFIGURE"> + <port type="UI_MENU"> <newseq type="standard">KEYCODE_TAB OR KEYCODE_1 KEYCODE_5</newseq> </port> <port type="UI_CANCEL"> @@ -170,7 +170,7 @@ override the default control assignments for emulated inputs by type: This sets the following default input assignments: -Config Menu (User Interface) +Show/Hide Menu (User Interface) Tab key, or 1 and 2 keys pressed simultaneously UI Cancel (User Interface) Escape key, or 2 and 6 keys pressed simultaneously |