From 9f73340dbcdce990015b76c6d20e9979d4bc6da7 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 18 Sep 2018 18:02:13 +1000 Subject: (nw) fix stuff up: * sunmouse: helps to invert that... also improve notes * sunkbd: remove an assert that triggers if you type fast, improve notes --- src/devices/bus/sunmouse/hlemouse.cpp | 6 +++--- src/devices/bus/sunmouse/sunmouse.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/devices/bus/sunmouse') 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 ) diff --git a/src/devices/bus/sunmouse/sunmouse.cpp b/src/devices/bus/sunmouse/sunmouse.cpp index 519b300d49b..9b59529c54a 100644 --- a/src/devices/bus/sunmouse/sunmouse.cpp +++ b/src/devices/bus/sunmouse/sunmouse.cpp @@ -3,7 +3,7 @@ /* Sun mouse port - Pre-USB Sun keyboards use an asynchronous serial protocol. Data is + Before USB, Sun used an asynchronous serial mouse protocol. Data is transmitted at TTL levels using an asynchronous serial protocol. The mouse RxD line is pulled up by the host and driven low by an open collector driver in the mouse for the mark (1) condition. This @@ -13,7 +13,7 @@ Most Sun mouse port devices transmit data at 1,200 Baud. However, some devices transmit at 4,800 Baud, and it's possible to modify any - Type 5 mouse for 4,800 Baud operation. Solaris 2.3 or later is + Sun Type 5 mouse for 4,800 Baud operation. Solaris 2.3 or later is required to support a 4,800 Baud mouse. From the Sun 2/50 onwards, the keyboard and mouse share a single @@ -42,7 +42,7 @@ Type 5 and later sacrifice the TxD line from the host to the mouse in favour of a dedicated line for the soft power key. It was never - used for anything useful with standard Sun components anyway. + used for anything useful with standard Sun peripherals anyway. Sun 2 and Sun 3 used an optical mouse made by Mouse Systems. The colour varied (usually black for Sun 2 and white for Sun 3). They -- cgit v1.2.3-70-g09d2