diff options
author | 2016-04-07 16:13:59 +0200 | |
---|---|---|
committer | 2016-04-07 16:13:59 +0200 | |
commit | 47f519a6fc4dbf97234f3b26a4ae6f9f5687c71b (patch) | |
tree | 2a089eb1165d7d5257d2df17f6a97b9a20d801f5 /scripts/src/lib.lua | |
parent | 23df0fe7363c934a67c0947e2766fa101485e181 (diff) |
info.cpp: Improved documentation of input devices in the listxml output, since having just a generic
'number of buttons' is rather pointless in the context of home systems with configurable controllers
(being them keyboards, keypads or joypads). Now the various controllers are listed separately with the
number of buttons they have. Frontend authors who relied on the "buttons" attribute of the input node
for any kind of filter shall now scan all available controllers and take the maximum among their "buttons"
attribute (possibly discarding keyboards and keypads if they want) to recover the old value. [Fabio Priuli]
info.cpp: Started to acknowledge PORT_16WAY inputs in -lx, since they were reported as 8-ways
so far. [Fabio Priuli]
out of whatsnew: most of the code was written almost 1 year ago, when MAME was still using
tagmaps, and only recently updated to current coding conventions: if you see any place where
C++ syntax can be exploited more just let me know :-)
Diffstat (limited to 'scripts/src/lib.lua')
0 files changed, 0 insertions, 0 deletions