summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author r09 <rzero9@gmail.com>2016-07-08 23:54:20 +0200
committer GitHub <noreply@github.com>2016-07-08 23:54:20 +0200
commitae90b69bddb47d52b08673f9a54bd28a12e0918c (patch)
treea865894dfbec2c49bf2d3fb17457c90e9a171fa7
parent3f58aa4548327df4a6223ed7bf84e614c2cb12e7 (diff)
pc9801: fixed mouse buttons
-rw-r--r--src/mame/drivers/pc9801.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp
index 1030b13298b..78bc42e05de 100644
--- a/src/mame/drivers/pc9801.cpp
+++ b/src/mame/drivers/pc9801.cpp
@@ -2576,8 +2576,8 @@ static INPUT_PORTS_START( pc9801 )
PORT_START("MOUSE_B")
PORT_BIT(0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON3) PORT_CODE(MOUSECODE_BUTTON3) PORT_NAME("Mouse Middle Button")
- PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_NAME("Mouse Right Button")
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_NAME("Mouse Right Button")
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_BUTTON3) PORT_CODE(MOUSECODE_BUTTON3) PORT_NAME("Mouse Middle Button")
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_NAME("Mouse Left Button")
PORT_START("ROM_LOAD")