mame/scripts
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
..
build Allow layout files to embed image data. 2020-10-09 02:52:49 +11:00
font srcclean and manual cleanups (nw) 2017-12-24 15:03:04 +11:00
minimaws minimaws: dt, not dl (nw) 2019-12-24 23:50:14 +11: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 -emu/natkeyboard.cpp: Allow keyboard devices to be enabled/disabled. 2020-10-11 02:58:46 +11:00
target New machines marked as NOT_WORKING 2020-10-10 11:42:56 +02: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 emscripten: netlist and OpenGL improvements. (#7254) 2020-09-18 23:06:48 +10:00
toolchain.lua might be better to leave that in for MinGW cross-compilation... (nw) 2020-02-29 22:38:25 +11:00