Start of work to fix keyboard input handler.
Original mame keymappings restored. (5 = coin, 1=P1, TAB=menu, ...)
Re-mapping from menu now functions.
Still lots to tidy up.