synacknet / mame

MAME
Other
0 stars 0 forks source link

adb device emulation is static and not extensible #6

Open synacknet opened 5 years ago

synacknet commented 5 years ago

Currently, macadb.c always attaches a (single) mouse and keyboard device to the adb bus. There are several command line options to control the attachment (or not) of input devices, but these aren't currently honored.

Input device handling should really be modularized in macadb.cpp to allow emulation of adb devices other than keyboads and mice. adb should probably be factored out into a bus abstraction. That will probably also necessitate emulation of the adb transciever on the relevant macs.