summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2016-07-23 15:31:55 +0200
committer Dirk Best <mail@dirk-best.de>2016-07-23 15:33:15 +0200
commit6b70c2a0e89685a4af8edf46973f2f368d868c23 (patch)
tree3e1f4980292f44101831c9ec497865f3d4dbcfe7 /scripts/src/machine.lua
parentac9001694f08b2c411a15b398997813cdb00d7be (diff)
Add a device as proof of concept which merges several input lines into a common output line, supporting both active high and active low inputs
Diffstat (limited to 'scripts/src/machine.lua')
-rw-r--r--scripts/src/machine.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index a4e3a9032cc..45753bf8bde 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -2914,3 +2914,14 @@ if (MACHINES["SCNXX562"]~=null) then
MAME_DIR .. "src/devices/machine/scnxx562.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/input_merger.h,MACHINES["INPUT_MERGER"] = true
+---------------------------------------------------
+if (MACHINES["INPUT_MERGER"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/input_merger.cpp",
+ MAME_DIR .. "src/devices/machine/input_merger.h",
+ }
+end