diff options
Diffstat (limited to 'src/devices/bus/coleco/controller/hand.cpp')
-rw-r--r-- | src/devices/bus/coleco/controller/hand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/coleco/controller/hand.cpp b/src/devices/bus/coleco/controller/hand.cpp index d5e4d72b6bc..c2e945984f3 100644 --- a/src/devices/bus/coleco/controller/hand.cpp +++ b/src/devices/bus/coleco/controller/hand.cpp @@ -18,7 +18,7 @@ DEFINE_DEVICE_TYPE(COLECO_HAND_CONTROLLER, coleco_hand_controller_device, "coleco_hand", "ColecoVision Hand Controller") -CUSTOM_INPUT_MEMBER( coleco_hand_controller_device::keypad_r ) +ioport_value coleco_hand_controller_device::keypad_r() { uint8_t data = 0xf; uint16_t keypad = m_io_keypad->read(); @@ -50,7 +50,7 @@ static INPUT_PORTS_START( coleco_hand_controller ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_START("COMMON1") - PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(coleco_hand_controller_device, keypad_r) + PORT_BIT( 0x0f, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(FUNC(coleco_hand_controller_device::keypad_r)) PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_CUSTOM ) |