diff options
Diffstat (limited to 'src/devices/bus/bbc/joyport/joystick.h')
| -rw-r--r-- | src/devices/bus/bbc/joyport/joystick.h | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/devices/bus/bbc/joyport/joystick.h b/src/devices/bus/bbc/joyport/joystick.h index 2cfc3e3c2c2..33a24497ce7 100644 --- a/src/devices/bus/bbc/joyport/joystick.h +++ b/src/devices/bus/bbc/joyport/joystick.h @@ -1,49 +1,13 @@ // license:BSD-3-Clause // copyright-holders:Nigel Barnes -/********************************************************************** - - BBC Master Compact Joystick - -**********************************************************************/ - #ifndef MAME_BUS_BBC_JOYPORT_JOYSTICK_H #define MAME_BUS_BBC_JOYPORT_JOYSTICK_H #pragma once - #include "joyport.h" -//************************************************************************** -// TYPE DEFINITIONS -//************************************************************************** - -// ======================> bbcmc_joystick_device - -class bbcmc_joystick_device : - public device_t, - public device_bbc_joyport_interface -{ -public: - // construction/destruction - bbcmc_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - - // optional information overrides - virtual ioport_constructor device_input_ports() const override ATTR_COLD; - -protected: - // device-level overrides - virtual void device_start() override ATTR_COLD; - - virtual uint8_t pb_r() override; - -private: - required_ioport m_joy; -}; - - -// device type definition -DECLARE_DEVICE_TYPE(BBCMC_JOYSTICK, bbcmc_joystick_device) +DECLARE_DEVICE_TYPE(BBCMC_JOYSTICK, device_bbc_joyport_interface) #endif // MAME_BUS_BBC_JOYPORT_JOYSTICK_H |
