mame/scripts
Vas Crabb 68472d3d72 Various input and OSD refactoring:
osd: Supply OSD object to modules on initialisation.  Encapsulated some
event handling in the OSD objects rather than leaving it in free
functions.  Put various stuff in namespaces.

osd/modules/input: Enabled dinput, xinput and winhybrid modules for
Windows SDL builds, and enabled background input for dinput and xinput
(and by extension winhybrid) modules.  Also fixed some COM and X11
resource leaks.

osd/modules/input/input_sdl.cpp: Flipped SDL mouse button order to match
Windows, and exposed vertical and horizontal scroll as Z and rZ axes.
Moved SDL UI event handling out of input devices into OSD object.

osd/modules/input_rawinput.cpp: Changed lightgun Z axis token so it's
correctly identified as a relative axis (it maps to the scroll wheel
equivalent).

osd: Added an option to choose the network provider module.  Mostly
useful if you build with both TUN/TAP and pcap support included, or if
you want to disable emulated networking completely.

emu/input.cpp: Use a better strategy for assembling input code names
that uses fewer temporary strings and doesn't require use of the
non-Unicode-aware space trimming function (fixes MT08552).

osd/modules/input_dinput.cpp: Improved polling logic.

osd: Made various parts of the input code less dependent on concrete emu
objects, and reduced inappropriately passing around the machine object.
Made input modules less dependent on OSD implementation.  Encapsulated
some stuff and got rid of some vestigial newui and SDL1 support code.
Cleaned up some interfaces.  Moved OSD options classes to their own
files.

Prepare to remove main.h from emu.h - it's mostly used to get the
application name, which the vast majority of emulated devices don't need
to do.
2023-01-29 03:16:14 +11:00
..
build Updated png.py to 0.0.20 (last version before Python 3.4 support dropped) 2023-01-03 16:05:24 +11:00
font srcclean and manual cleanups (nw) 2017-12-24 15:03:04 +11:00
minimaws More user experience improvements: 2021-10-14 08:00:04 +11:00
resources Tweaked MAME icon: 2022-08-07 02:47:19 +10:00
src Various input and OSD refactoring: 2023-01-29 03:16:14 +11:00
target More miscellaneous fixes: 2022-09-14 04:46:58 +10:00
xslt More quality of life features for new source layout: 2022-06-29 01:29:04 +10:00
extlib.lua Added possibility of building using system pugixml 2018-03-27 10:19:22 +11:00
genie.lua Fail earlier in the build process if SOURCES= specifies no files containing system definitions 2022-07-07 11:54:01 +10:00
toolchain.lua Added support for building with Clang on OpenBSD. (#10028) 2022-07-04 03:54:58 +10:00