summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2gameio/gizmo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2gameio/gizmo.h')
-rw-r--r--src/devices/bus/a2gameio/gizmo.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/devices/bus/a2gameio/gizmo.h b/src/devices/bus/a2gameio/gizmo.h
index 8f451992222..c304b39a6e9 100644
--- a/src/devices/bus/a2gameio/gizmo.h
+++ b/src/devices/bus/a2gameio/gizmo.h
@@ -14,32 +14,7 @@
#include "bus/a2gameio/gameio.h"
-// ======================> apple2_gizmo_device
-
-class apple2_gizmo_device : public device_t, public device_a2gameio_interface
-{
-public:
- // construction/destruction
- apple2_gizmo_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
-
-protected:
- // device-level overrides
- virtual ioport_constructor device_input_ports() const override;
- virtual void device_start() override;
-
- // device_a2gameio_interface overrides
- virtual DECLARE_READ_LINE_MEMBER(sw0_r) override;
- virtual DECLARE_WRITE_LINE_MEMBER(an0_w) override;
- virtual DECLARE_WRITE_LINE_MEMBER(an1_w) override;
- virtual DECLARE_WRITE_LINE_MEMBER(an2_w) override;
-
-private:
- // input ports
- required_ioport m_player1;
- int m_an0, m_an1, m_an2;
-};
-
// device type declaration
-DECLARE_DEVICE_TYPE(APPLE2_GIZMO, apple2_gizmo_device)
+DECLARE_DEVICE_TYPE(APPLE2_GIZMO, device_a2gameio_interface)
#endif // MAME_BUS_A2GAMEIO_GIZMO_H