summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2018-05-11 13:25:42 +0700
committer Vas Crabb <cuavas@users.noreply.github.com>2018-05-11 16:25:42 +1000
commitbd9f203b655134ab33da3c1d5c7a8bde302c63d0 (patch)
treef6fd502f4f26584a51619dcc2d90da7ac743be20 /scripts
parentd08cf3ce61d11edbeab72e277fc056124a9a6755 (diff)
interpro: slotify mouse (nw) (#3543)
* interpro: slotify mouse (nw) Needed to make the mouse a slot device to enable it to be connected to graphics boards under development. * add validity check (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/bus.lua12
-rw-r--r--scripts/target/mame/mess.lua1
2 files changed, 13 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index 4114928de76..fecb4721bbe 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -3425,6 +3425,18 @@ end
---------------------------------------------------
--
+--@src/devices/bus/interpro/mouse/mouse.h,BUSES["INTERPRO_MOUSE"] = true
+---------------------------------------------------
+
+if (BUSES["INTERPRO_MOUSE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/interpro/mouse/mouse.cpp",
+ MAME_DIR .. "src/devices/bus/interpro/mouse/mouse.h"
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/bus/einstein/pipe/pipe.h,BUSES["TATUNG_PIPE"] = true
---------------------------------------------------
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 4e1485464c4..929009780b2 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -699,6 +699,7 @@ BUSES["IMI7000"] = true
BUSES["INTELLEC4"] = true
BUSES["INTERPRO_SR"] = true
BUSES["INTERPRO_KEYBOARD"] = true
+BUSES["INTERPRO_MOUSE"] = true
BUSES["INTV"] = true
BUSES["INTV_CTRL"] = true
BUSES["IQ151"] = true