diff options
Diffstat (limited to 'src/devices/bus/rs232/hlemouse.cpp')
-rw-r--r-- | src/devices/bus/rs232/hlemouse.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/bus/rs232/hlemouse.cpp b/src/devices/bus/rs232/hlemouse.cpp index 38e9bfd5c20..02577316448 100644 --- a/src/devices/bus/rs232/hlemouse.cpp +++ b/src/devices/bus/rs232/hlemouse.cpp @@ -53,7 +53,7 @@ 10000lmr xxxxxxxx yyyyyyyy xxxxxxxx yyyyyyyy - The Mouse systems rotatable protcol allows the host to infer + The Mouse systems rotatable protocol allows the host to infer rotation around the third axis at the cost of halving the maximum sustained movement speed. The M-1 mouse has two sensors spaced 100 counts apart horizontally. If DIP switch 2 is on, the X and Y delta @@ -74,14 +74,14 @@ // Device type globals //************************************************** -DEFINE_DEVICE_TYPE_NS(MSFT_HLE_SERIAL_MOUSE, bus::rs232, hle_msft_mouse_device, "rs232_mouse_hle_msft", "Microsoft 2-Button Serial Mouse (HLE)") -DEFINE_DEVICE_TYPE_NS(LOGITECH_HLE_SERIAL_MOUSE, bus::rs232, hle_logitech_mouse_device, "rs232_mouse_hle_logitech", "Logitech 3-Button Serial Mouse (HLE)") -DEFINE_DEVICE_TYPE_NS(WHEEL_HLE_SERIAL_MOUSE, bus::rs232, hle_wheel_mouse_device, "rs232_mouse_hle_wheel", "Microsoft Serial Mouse with Wheel (HLE)") -DEFINE_DEVICE_TYPE_NS(MSYSTEMS_HLE_SERIAL_MOUSE, bus::rs232, hle_msystems_mouse_device, "rs232_mouse_hle_msystems", "Mouse Systems Non-rotatable Mouse (HLE)") -DEFINE_DEVICE_TYPE_NS(ROTATABLE_HLE_SERIAL_MOUSE, bus::rs232, hle_rotatable_mouse_device, "rs232_mouse_hle_rotatable", "Mouse Systems Rotatable Mouse (HLE)") -DEFINE_DEVICE_TYPE_NS(SGI_HLE_SERIAL_MOUSE, bus::rs232, hle_sgi_mouse_device, "rs232_mouse_hle_sgi", "SGI IRIS Indigo Mouse (HLE)") +DEFINE_DEVICE_TYPE(MSFT_HLE_SERIAL_MOUSE, bus::rs232::hle_msft_mouse_device, "rs232_mouse_hle_msft", "Microsoft 2-Button Serial Mouse (HLE)") +DEFINE_DEVICE_TYPE(LOGITECH_HLE_SERIAL_MOUSE, bus::rs232::hle_logitech_mouse_device, "rs232_mouse_hle_logitech", "Logitech 3-Button Serial Mouse (HLE)") +DEFINE_DEVICE_TYPE(WHEEL_HLE_SERIAL_MOUSE, bus::rs232::hle_wheel_mouse_device, "rs232_mouse_hle_wheel", "Microsoft Serial Mouse with Wheel (HLE)") +DEFINE_DEVICE_TYPE(MSYSTEMS_HLE_SERIAL_MOUSE, bus::rs232::hle_msystems_mouse_device, "rs232_mouse_hle_msystems", "Mouse Systems Non-rotatable Mouse (HLE)") +DEFINE_DEVICE_TYPE(ROTATABLE_HLE_SERIAL_MOUSE, bus::rs232::hle_rotatable_mouse_device, "rs232_mouse_hle_rotatable", "Mouse Systems Rotatable Mouse (HLE)") +DEFINE_DEVICE_TYPE(SGI_HLE_SERIAL_MOUSE, bus::rs232::hle_sgi_mouse_device, "rs232_mouse_hle_sgi", "SGI IRIS Indigo Mouse (HLE)") -namespace bus { namespace rs232 { +namespace bus::rs232 { namespace { @@ -239,13 +239,13 @@ void hle_msmouse_device_base::device_start() machine().scheduler().synchronize(timer_expired_delegate(FUNC(hle_msmouse_device_base::start_mouse), this)); } -WRITE_LINE_MEMBER(hle_msmouse_device_base::input_dtr) +void hle_msmouse_device_base::input_dtr(int state) { m_dtr = state ? 1U : 0U; check_enable(); } -WRITE_LINE_MEMBER(hle_msmouse_device_base::input_rts) +void hle_msmouse_device_base::input_rts(int state) { m_rts = state ? 1U : 0U; check_enable(); @@ -720,4 +720,4 @@ void hle_sgi_mouse_device::device_start() transmit_register_reset(); } -} } // namespace bus::rs232 +} // namespace bus::rs232 |