summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/cbombers.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/cbombers.lay')
-rw-r--r--src/mame/layout/cbombers.lay59
1 files changed, 48 insertions, 11 deletions
diff --git a/src/mame/layout/cbombers.lay b/src/mame/layout/cbombers.lay
index 4693df2d33f..efa534d99ab 100644
--- a/src/mame/layout/cbombers.lay
+++ b/src/mame/layout/cbombers.lay
@@ -1,8 +1,11 @@
<?xml version="1.0"?>
<!--
-license:CC0
+license:CC0-1.0
-->
<mamelayout version="2">
+
+ <element name="nothing"><rect><color alpha="0" /></rect></element>
+
<element name="shifter" defstate="0">
<rect>
<bounds left="0" right="32" top="0" bottom="64" />
@@ -51,38 +54,72 @@ license:CC0
</disk>
</element>
- <view name="Shifter-R">
+ <view name="Shifter-R Overlay" showpointers="no">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="INPUTS" inputmask="0x01000000">
+ <element ref="nothing" clickthrough="no"> <!-- block clickable input -->
+ <bounds x="606" y="414" width="32" height="64" />
+ </element>
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
<bounds x="606" y="414" width="32" height="64" />
<color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="606" y="414" width="32" height="64" />
+ </element>
+ </collection>
</view>
- <view name="Shifter-L">
+ <view name="Shifter-R Off-Screen" showpointers="no">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="INPUTS" inputmask="0x01000000">
- <bounds x="2" y="414" width="32" height="64" />
+ <element ref="nothing" clickthrough="no"> <!-- block clickable input -->
+ <bounds x="648" y="414" width="32" height="64" />
+ </element>
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="648" y="414" width="32" height="64" />
<color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="648" y="414" width="32" height="64" />
+ </element>
+ </collection>
</view>
- <view name="Widescreen Shifter-R">
+ <view name="Shifter-L Overlay" showpointers="no">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="INPUTS" inputmask="0x01000000">
- <bounds x="648" y="414" width="32" height="64" />
+ <element ref="nothing" clickthrough="no"> <!-- block clickable input -->
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="2" y="414" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="2" y="414" width="32" height="64" />
+ </element>
+ </collection>
</view>
- <view name="Widescreen Shifter-L">
+ <view name="Shifter-L Off-Screen" showpointers="no">
<screen index="0">
<bounds x="0" y="0" width="640" height="480" />
</screen>
- <element ref="shifter" inputtag="INPUTS" inputmask="0x01000000">
+ <element ref="nothing" clickthrough="no"> <!-- block clickable input -->
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
<bounds x="-40" y="414" width="32" height="64" />
+ <color alpha="0.6" />
</element>
+ <collection name="Opaque Shifter" visible="no">
+ <element ref="shifter" inputtag="INPUTS0" inputmask="0x01">
+ <bounds x="-40" y="414" width="32" height="64" />
+ </element>
+ </collection>
</view>
</mamelayout>