diff options
Diffstat (limited to 'src/devices/bus/hp_hil/hlekbd.h')
-rw-r--r-- | src/devices/bus/hp_hil/hlekbd.h | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/src/devices/bus/hp_hil/hlekbd.h b/src/devices/bus/hp_hil/hlekbd.h index 714b0ba6d2b..25df57da3b3 100644 --- a/src/devices/bus/hp_hil/hlekbd.h +++ b/src/devices/bus/hp_hil/hlekbd.h @@ -10,8 +10,7 @@ #include "machine/keyboard.h" -namespace bus { - namespace hp_hil { +namespace bus { namespace hp_hil { class hle_hp_ipc_device : public hle_device_base @@ -52,46 +51,10 @@ private: void transmit_byte(uint8_t byte); }; - -class hle_hp_46060b_device - : public hle_device_base -{ -public: - hle_hp_46060b_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock); - virtual void device_reset() override; - virtual ioport_constructor device_input_ports() const override; - virtual int hil_poll() override; - virtual void hil_idd() override; - enum state_mask - { - MOUSE_YPOS = 0x000000ff, - MOUSE_XPOS = 0x0000ff00, - MOUSE_LBUTTON = 0x00010000, - MOUSE_MBUTTON = 0x00020000, - MOUSE_RBUTTON = 0x00040000, - - MOUSE_BUTTONS = 0x00070000 - }; - - DECLARE_INPUT_CHANGED_MEMBER(mouse_button); - DECLARE_INPUT_CHANGED_MEMBER(mouse_x); - DECLARE_INPUT_CHANGED_MEMBER(mouse_y); - - int8_t mouse_x_delta; - int8_t mouse_y_delta; - uint32_t mouse_buttons; - util::fifo<uint8_t, 16> m_fifo; - -}; - - - -} // namespace bus::hp_hil -} // namespace bus +} } // namespace bus::hp_hil DECLARE_DEVICE_TYPE_NS(HP_IPC_HLE_KEYBOARD, bus::hp_hil, hle_hp_ipc_device); DECLARE_DEVICE_TYPE_NS(HP_ITF_HLE_KEYBOARD, bus::hp_hil, hle_hp_itf_device); -DECLARE_DEVICE_TYPE_NS(HP_46060B_MOUSE, bus::hp_hil, hle_hp_46060b_device); #endif // MAME_DEVICES_HP_HIL_HLEKBD_H |