mame/scripts
Vas Crabb 6c61aa61d2 UI input mapping menu updates:
* When a switch-type input is selected, show feedback when it's pressed
* If an invalid code is entered (e.g. only negatives) abandon the change rather than cycling default/none
* If an invalid code is entered display a message until the user takes some other action

input.cpp updates:
* constexpr crusade on input_code and input_seq and some very slight optimisation to input_seq
* seq_poll* is a frontend function and had no business being in the core, so it's a utility class now
* seq_poll* now exposes a bit more detail, enabling improved interaction on the UI inputs menu
* global state is reduced a little, but the poll_* functions are still members of the input manager with global state

(nw) The Lua engine has been updated in a way that maintains source compatibility with existing Lua
scripts.  This is less than ideal, but it minimises impact.  Ideally someone (possibly me) will be
able to expose the input sequence poller helper properly.  I tested the changes with the cheat and
autofire plugins and I was able to assign sequences.  However I found two issues: it's seems
impossible to assign a more complex sequence than a single key/button in the autofire plugin (i.e.
no AND or NOT conditions, I confirmed this is pre-existing, not a regression), and in both the cheat
and autofire plugins I found it a bit unwieldy trying to enter a complex sequence without live
feedback of the sequence as it's built (this was also applicable to MAME's own input mapping menu
until I added the live display yesterday).
2019-11-21 03:36:19 +11:00
..
build Spring cleaning: 2019-11-01 00:47:41 +11:00
font srcclean and manual cleanups (nw) 2017-12-24 15:03:04 +11:00
minimaws Build system maintenance: 2019-10-04 22:55:01 +10:00
resources windows rc: use emulator name for description (this is the application title that shows up on task manager for example) (nw) 2017-11-05 14:58:09 +01:00
src UI input mapping menu updates: 2019-11-21 03:36:19 +11:00
target (nw) fixed some tabs 2019-11-21 00:49:44 +11:00
xslt Add some example XSLTs that operate on -listxml output 2019-01-03 03:38:25 +11:00
extlib.lua Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
genie.lua Revert "Fix gcc version 5 compile. (nw)" 2019-11-01 17:27:05 +01:00
toolchain.lua mingw-clang now links again (nw) 2019-10-02 17:10:51 +01:00