diff options
| author | 2016-04-10 17:54:51 +0200 | |
|---|---|---|
| committer | 2016-04-10 17:54:51 +0200 | |
| commit | 465de1588565a8a6bee0434f53e0b6db67f297e5 (patch) | |
| tree | 6b82c9afdb70752bde3eb505f65cd52921a9a96c /scripts | |
| parent | 19397471c1141d0d8b42ea10b28003afcb01d581 (diff) | |
intv: Converted controller inputs to be slot devices. [Fabio Priuli]
intvecs: Converted hand controllers, keyboard and synth to be slot devices,
by using a temporary hack to workaround the impossibility to plug the same
device into 2 different slots as these keyboard require. [Fabio Priuli]
out of whatsnew: in the long term we need to come up with a core solution
for these devices that occupy multiple slot devices at once (another one is
the VCS Compumate which plugs into both VCS control ports), because the
hack I used (a "fake" control port which acts as a passthru for the two real
control ports) is not really satisfactory. However, current solution is better
than the selectable controllers we had, which were (ab)using
PORT_CONDITIONs...
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/src/bus.lua | 17 | ||||
| -rw-r--r-- | scripts/target/mame/mess.lua | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index c3f8bbd43d3..43a86be74c2 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -705,6 +705,23 @@ end --------------------------------------------------- -- +--@src/devices/bus/intv/slot.h,BUSES["INTV_CTRL"] = true +--------------------------------------------------- + +if (BUSES["INTV_CTRL"]~=null) then + files { + MAME_DIR .. "src/devices/bus/intv_ctrl/ctrl.cpp", + MAME_DIR .. "src/devices/bus/intv_ctrl/ctrl.h", + MAME_DIR .. "src/devices/bus/intv_ctrl/handctrl.cpp", + MAME_DIR .. "src/devices/bus/intv_ctrl/handctrl.h", + MAME_DIR .. "src/devices/bus/intv_ctrl/ecs_ctrl.cpp", + MAME_DIR .. "src/devices/bus/intv_ctrl/ecs_ctrl.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/isa/isa.h,BUSES["ISA"] = true --------------------------------------------------- diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 39ab656cf0b..854493641a6 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -618,6 +618,7 @@ BUSES["GENERIC"] = true BUSES["IEEE488"] = true BUSES["IMI7000"] = true BUSES["INTV"] = true +BUSES["INTV_CTRL"] = true BUSES["IQ151"] = true BUSES["ISA"] = true BUSES["ISBX"] = true |
