summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/binbug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/binbug.cpp')
-rw-r--r--src/mame/drivers/binbug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/binbug.cpp b/src/mame/drivers/binbug.cpp
index 5294579dc83..49d33c6ec1a 100644
--- a/src/mame/drivers/binbug.cpp
+++ b/src/mame/drivers/binbug.cpp
@@ -554,8 +554,8 @@ MACHINE_CONFIG_START(dg680_state::dg680)
MCFG_PALETTE_ADD_MONOCHROME("palette")
/* Keyboard */
- MCFG_DEVICE_ADD("keyb", GENERIC_KEYBOARD, 0)
- MCFG_GENERIC_KEYBOARD_CB(PUT(dg680_state, kbd_put))
+ generic_keyboard_device &keyb(GENERIC_KEYBOARD(config, "keyb", 0));
+ keyb.set_keyboard_callback(FUNC(dg680_state::kbd_put));
/* Cassette */
MCFG_CASSETTE_ADD( "cassette" )