summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sunmouse/hlemouse.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-18 18:02:13 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-18 18:02:13 +1000
commit9f73340dbcdce990015b76c6d20e9979d4bc6da7 (patch)
tree0fb4122f469a2991ae44a721dc2ae5b72ca5a9fe /src/devices/bus/sunmouse/hlemouse.cpp
parentef5fe3c95e5f37926fd15c1161e5ada8dfa48aaf (diff)
(nw) fix stuff up:
* sunmouse: helps to invert that... also improve notes * sunkbd: remove an assert that triggers if you type fast, improve notes
Diffstat (limited to 'src/devices/bus/sunmouse/hlemouse.cpp')
-rw-r--r--src/devices/bus/sunmouse/hlemouse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/sunmouse/hlemouse.cpp b/src/devices/bus/sunmouse/hlemouse.cpp
index 4cf26a76651..0737f5e4702 100644
--- a/src/devices/bus/sunmouse/hlemouse.cpp
+++ b/src/devices/bus/sunmouse/hlemouse.cpp
@@ -37,9 +37,9 @@ namespace {
INPUT_PORTS_START( mouse )
PORT_START("BTN")
PORT_BIT( 0xfff8, IP_ACTIVE_HIGH, IPT_UNUSED )
- PORT_BIT( 0x0004, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_CODE(MOUSECODE_BUTTON1) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
- PORT_BIT( 0x0002, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_CODE(MOUSECODE_BUTTON2) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
- PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_CODE(MOUSECODE_BUTTON3) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(MOUSECODE_BUTTON1) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(MOUSECODE_BUTTON2) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(MOUSECODE_BUTTON3) PORT_CHANGED_MEMBER(DEVICE_SELF, hle_device_base, input_changed, nullptr)
PORT_START("X")
PORT_BIT( 0xf000, IP_ACTIVE_HIGH, IPT_UNUSED )