summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-04-11 00:02:39 +0200
committer hap <happppp@users.noreply.github.com>2021-04-11 00:02:50 +0200
commitba646af6d82b1604ed4eeeb2adc77ed06e3b2104 (patch)
treefc2adf0563aed421a9113ce8255b7d27e7dd5dd7 /src/mame/layout
parent6cea28b06639e7f748ea0761377d712009bffaf9 (diff)
mephisto_glasgow.cpp: split driver file into glasgow/amsterdam
Diffstat (limited to 'src/mame/layout')
-rw-r--r--src/mame/layout/mephisto_amsterdam.lay39
-rw-r--r--src/mame/layout/mephisto_glasgow.lay33
-rw-r--r--src/mame/layout/mephisto_mirage.lay28
-rw-r--r--src/mame/layout/mephisto_mm1.lay28
4 files changed, 66 insertions, 62 deletions
diff --git a/src/mame/layout/mephisto_amsterdam.lay b/src/mame/layout/mephisto_amsterdam.lay
index 1e75b7afcb6..51f2378c647 100644
--- a/src/mame/layout/mephisto_amsterdam.lay
+++ b/src/mame/layout/mephisto_amsterdam.lay
@@ -493,55 +493,60 @@ license:CC0
<element ref="gray"><bounds x="89.7" y="105.3" width="0.9" height="0.9" /></element>
<element ref="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></element>
- <!-- Buttons (new_keyboard)-->
- <element ref="keys" inputtag="LINE1" inputmask="0x01"> <!-- INFO -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x01"> <!-- INFO -->
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x02"> <!-- POS -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x02"> <!-- POS -->
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x04"> <!-- LEV -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x04"> <!-- LEV -->
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x08"> <!-- MEM -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x08"> <!-- MEM -->
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x10"> <!-- CL -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x10"> <!-- CL -->
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x20"> <!-- ENT -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x20"> <!-- ENT -->
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x01"> <!-- A1 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x01"> <!-- A1 -->
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x02"> <!-- B2 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x02"> <!-- B2 -->
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x04"> <!-- C3 -->
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x08"> <!-- D4 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x08"> <!-- D4 -->
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x10"> <!-- E5 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x10"> <!-- E5 -->
<bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x20"> <!-- F6 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x20"> <!-- F6 -->
<bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
+ <element ref="keys" inputtag="RESET" inputmask="0x01"> <!-- RES -->
+ <bounds x="69" y="103" width="4" height="4" /><color alpha="0.25" />
+ </element>
+ <element ref="keys" inputtag="RESET" inputmask="0x02"> <!-- RES -->
+ <bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" />
+ </element>
+ <element ref="keys" inputtag="KEY.1" inputmask="0x40"> <!-- G7 -->
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x80"> <!-- H8 -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x80"> <!-- H8 -->
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x40"> <!-- 9 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x40"> <!-- 9 -->
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x80"> <!-- 0 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x80"> <!-- 0 -->
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
</group>
diff --git a/src/mame/layout/mephisto_glasgow.lay b/src/mame/layout/mephisto_glasgow.lay
index f3a94062cef..4ec926a6368 100644
--- a/src/mame/layout/mephisto_glasgow.lay
+++ b/src/mame/layout/mephisto_glasgow.lay
@@ -491,55 +491,54 @@ license:CC0
<element ref="gray"><bounds x="89.7" y="105.3" width="0.9" height="0.9" /></element>
<element ref="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></element>
- <!-- Buttons (old_keyboard)-->
- <element ref="keys" inputtag="LINE1" inputmask="0x02"> <!-- INFO -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x02"> <!-- INFO -->
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x08"> <!-- POS -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x08"> <!-- POS -->
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x20"> <!-- LEV -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x20"> <!-- LEV -->
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x80"> <!-- MEM -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x80"> <!-- MEM -->
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x02"> <!-- CL -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x02"> <!-- CL -->
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x08"> <!-- ENT -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x08"> <!-- ENT -->
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x20"> <!-- A1 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x20"> <!-- A1 -->
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x80"> <!-- B2 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x80"> <!-- B2 -->
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x04"> <!-- C3 -->
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x10"> <!-- D4 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x10"> <!-- D4 -->
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x01"> <!-- E5 -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x01"> <!-- E5 -->
<bounds x="69" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x40"> <!-- F6 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x40"> <!-- F6 -->
<bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x40"> <!-- G7 -->
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x10"> <!-- H8 -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x10"> <!-- H8 -->
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE0" inputmask="0x01"> <!-- 9 -->
+ <element ref="keys" inputtag="KEY.0" inputmask="0x01"> <!-- 9 -->
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
- <element ref="keys" inputtag="LINE1" inputmask="0x04"> <!-- 0 -->
+ <element ref="keys" inputtag="KEY.1" inputmask="0x04"> <!-- 0 -->
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
</element>
</group>
diff --git a/src/mame/layout/mephisto_mirage.lay b/src/mame/layout/mephisto_mirage.lay
index 3fbda7f1e4e..92c83696c1f 100644
--- a/src/mame/layout/mephisto_mirage.lay
+++ b/src/mame/layout/mephisto_mirage.lay
@@ -491,23 +491,23 @@ license:CC0
<element ref="text_p1"><bounds x="8" y="10.6" width="1.4" height="1.4" /></element>
<element ref="keys" inputtag="IN.0" inputmask="0x01"><bounds x="16" y="0.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.4" inputmask="0x01"><bounds x="20" y="0.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="16" y="3.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.2" inputmask="0x01"><bounds x="20" y="3.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x10"><bounds x="20" y="0.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="16" y="3.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x04"><bounds x="20" y="3.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="0" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.3" inputmask="0x01"><bounds x="4" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.5" inputmask="0x01"><bounds x="8" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.7" inputmask="0x01"><bounds x="12" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.6" inputmask="0x01"><bounds x="16" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.6" inputmask="0x02"><bounds x="20" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x08"><bounds x="4" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x20"><bounds x="8" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x80"><bounds x="12" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x40"><bounds x="16" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x40"><bounds x="20" y="7.0" width="3" height="1.75" /><color alpha="0.25" /></element>
<element ref="keys" inputtag="IN.1" inputmask="0x02"><bounds x="0" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.3" inputmask="0x02"><bounds x="4" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.5" inputmask="0x02"><bounds x="8" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.7" inputmask="0x02"><bounds x="12" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.2" inputmask="0x02"><bounds x="16" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.4" inputmask="0x02"><bounds x="20" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x08"><bounds x="4" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x20"><bounds x="8" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x80"><bounds x="12" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x04"><bounds x="16" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x10"><bounds x="20" y="10.5" width="3" height="1.75" /><color alpha="0.25" /></element>
</group>
diff --git a/src/mame/layout/mephisto_mm1.lay b/src/mame/layout/mephisto_mm1.lay
index 1d7b4c35f14..6aa2032d05f 100644
--- a/src/mame/layout/mephisto_mm1.lay
+++ b/src/mame/layout/mephisto_mm1.lay
@@ -529,26 +529,26 @@ license:CC0
<element ref="gray"><bounds x="89.7" y="105.3" width="0.9" height="0.9" /></element>
<element ref="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></element>
- <element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.3" inputmask="0x01"><bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.5" inputmask="0x01"><bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.7" inputmask="0x01"><bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x08"><bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x20"><bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x80"><bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="keys" inputtag="IN.1" inputmask="0x02"><bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.3" inputmask="0x02"><bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x08"><bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.5" inputmask="0x02"><bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.7" inputmask="0x02"><bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.2" inputmask="0x02"><bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.4" inputmask="0x02"><bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x20"><bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x80"><bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x04"><bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x10"><bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="keys" inputtag="IN.X" inputmask="0x01"><bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="keys" inputtag="IN.X" inputmask="0x02"><bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="keys" inputtag="IN.0" inputmask="0x01"><bounds x="69" y="103" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.6" inputmask="0x02"><bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.6" inputmask="0x01"><bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.4" inputmask="0x01"><bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" /></element>
- <element ref="keys" inputtag="IN.2" inputmask="0x01"><bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x40"><bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x40"><bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x10"><bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="keys" inputtag="IN.0" inputmask="0x04"><bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" /></element>
</group>