mame/scripts/src
Vas Crabb c751a5348a -emu/natkeyboard.cpp: Allow keyboard devices to be enabled/disabled.
This fixes the "typing on all keyboards at once" issue.  You can now
enable and disable keyboard/keypad inputs per device in the Keyboard
Mode menu.  Default is to enable the first device with keyboard inputs,
and all device with keypad inputs but no keyboard inputs.  The settings
are saved in the CFG file for the machine.

Typing in natural keyboard mode only ever types on one keyboard at a
time, but now you can control which keyboard it types on, as it will be
the first enabled keyboard.

You can easily try this out with something like:
mame64d zorba -rs232 terminal cpm

-ui/inputmap.cpp: Show device descriptions as well as tag paths.

-mac128.cpp: Fixed mouse axis wrap compensation, cleaned up mouse code,
eliminated static variables for mouse input state.

You could see the issue with wrap detection easily enough just by
running mac128k/mac512k/macplus and tapping the arrow keys to move the
mouse one pixel at a time.  As you moved past the point where the axis
count wrapped, it would move one pixel in the opposite direction.

There were two function static variables related to mouse input state,
probably still lurking from when the code was initially made to use a
driver state class.  This obviously messes with save states and prevents
multiple instances.

- bus/a2bus/mouse.cpp: Fixed mouse axis wrap compensation.

This device had the same bug with wrap compensation as mac128k.cpp.
2020-10-11 02:58:46 +11:00
..
mame -emu/natkeyboard.cpp: Allow keyboard devices to be enabled/disabled. 2020-10-11 02:58:46 +11:00
osd -bgfx: Corrected a data overrun in the d3d12 backend from allocating only enough texture data for width*height, not rowpixels*height. [Ryan Holtz] 2020-06-20 15:37:14 +02:00
3rdparty.lua FreeBSD fixes (#7295) 2020-09-27 20:41:14 +10:00
benchmarks.lua srcclean (nw) 2016-09-26 04:51:59 +10:00
bus.lua Software list items promoted to working 2020-10-10 00:44:01 +02:00
cpu.lua ns32000: avoid potential slave dependency issue 2020-10-06 09:54:38 +07:00
devices.lua Enable precompiled header usage in the Visual Studio compiler (#5473) 2019-08-13 13:20:53 -04:00
emu.lua Various improvements to image file handling: 2020-10-08 02:04:31 +11:00
formats.lua fix build 2020-09-17 12:22:03 +03:00
lib.lua Various improvements to image file handling: 2020-10-08 02:04:31 +11:00
machine.lua ns32202: new device (wip) 2020-10-10 13:28:41 +07:00
main.lua Remove embed files unintentionally added to Emscripten build 2020-09-28 10:04:36 -07:00
netlist.lua netlist: Convert driver filenames to lower case. 2020-09-30 08:38:06 +02:00
sound.lua Major update for HC55516 CVSD audio device and related filtering, as well as hooking it to drivers. (#7290) 2020-10-10 04:25:40 +11:00
tests.lua srcclean (nw) 2017-02-19 11:40:55 +11:00
tools.lua formats/flopimg.cpp: Use appropriate standard exceptions for reporting errors, allowing libemu to be removed from imgtool and floptool. 2020-08-30 17:22:17 +10:00
video.lua added Hughes HLCD 0438 LCD Driver device 2020-07-24 13:31:36 +02:00