summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-08-08 02:19:09 +0200
committer hap <happppp@users.noreply.github.com>2015-08-08 02:19:09 +0200
commitec4eb805682dfd40cbe47c8fac06f57f47c61969 (patch)
tree6ea7da4408c9f92c5adb39d3ed101f6bb2ed5b68 /src
parentf2b2252190aa969a58b8df381ee1cffc689b6700 (diff)
fix tactix buttons
Diffstat (limited to 'src')
-rw-r--r--src/mess/drivers/hh_ucom4.c8
-rw-r--r--src/mess/layout/tactix.lay6
2 files changed, 6 insertions, 8 deletions
diff --git a/src/mess/drivers/hh_ucom4.c b/src/mess/drivers/hh_ucom4.c
index 2f32abac1c4..f0df7f66792 100644
--- a/src/mess/drivers/hh_ucom4.c
+++ b/src/mess/drivers/hh_ucom4.c
@@ -1051,10 +1051,10 @@ static INPUT_PORTS_START( tactix )
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_V) PORT_NAME("Button 16")
PORT_START("IN.4") // E0 port A
- PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) //todo..
- PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6)
- PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7)
- PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8)
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("New Game")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_UNUSED)
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_T) PORT_NAME("Comp Turn")
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_UNUSED)
INPUT_PORTS_END
static MACHINE_CONFIG_START( tactix, tactix_state )
diff --git a/src/mess/layout/tactix.lay b/src/mess/layout/tactix.lay
index 0f6bfad4928..63afeac12a4 100644
--- a/src/mess/layout/tactix.lay
+++ b/src/mess/layout/tactix.lay
@@ -142,10 +142,8 @@
<bezel element="button" inputtag="IN.3" inputmask="0x04"><bounds x="16" y="14" width="1.15" height="1.15" /><color alpha="0.6" /></bezel>
<bezel element="button" inputtag="IN.3" inputmask="0x08"><bounds x="16" y="16" width="1.15" height="1.15" /><color alpha="0.6" /></bezel>
-<!-- todo
- <bezel element="button" inputtag="IN.4" inputmask="0x01"><bounds x="8.15" y="12.925" width="1.15" height="1.15" /><color alpha="0.6" /></bezel>
- <bezel element="button" inputtag="IN.4" inputmask="0x01"><bounds x="17.85" y="12.925" width="1.15" height="1.15" /><color alpha="0.6" /></bezel>
--->
+ <bezel element="button" inputtag="IN.4" inputmask="0x04"><bounds x="8.15" y="12.925" width="1.15" height="1.15" /><color alpha="0.33" /></bezel>
+ <bezel element="button" inputtag="IN.4" inputmask="0x01"><bounds x="17.85" y="12.925" width="1.15" height="1.15" /><color alpha="0.33" /></bezel>
</view>