summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/vcs_keypad.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/vcs_keypad.h')
-rw-r--r--src/mess/machine/vcs_keypad.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mess/machine/vcs_keypad.h b/src/mess/machine/vcs_keypad.h
index 5cdb194f018..8643386133b 100644
--- a/src/mess/machine/vcs_keypad.h
+++ b/src/mess/machine/vcs_keypad.h
@@ -25,7 +25,7 @@
// ======================> vcs_keypad_device
class vcs_keypad_device : public device_t,
- public device_vcs_control_port_interface
+ public device_vcs_control_port_interface
{
public:
// construction/destruction
@@ -45,6 +45,12 @@ protected:
virtual UINT8 vcs_pot_x_r();
virtual UINT8 vcs_pot_y_r();
+ virtual bool has_pot_x() { return true; }
+ virtual bool has_pot_y() { return true; }
+
+private:
+ required_ioport m_keypad;
+
UINT8 m_column;
};