diff options
Diffstat (limited to 'src/devices/machine/pckeybrd.h')
-rw-r--r-- | src/devices/machine/pckeybrd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/pckeybrd.h b/src/devices/machine/pckeybrd.h index 622af173bf8..7ee6c5c2c14 100644 --- a/src/devices/machine/pckeybrd.h +++ b/src/devices/machine/pckeybrd.h @@ -26,6 +26,7 @@ public: DECLARE_WRITE_LINE_MEMBER(enable); template <class Object> devcb_base &set_keypress_callback(Object &&cb) { return m_out_keypress_func.set_callback(std::forward<Object>(cb)); } + auto keypress() { return m_out_keypress_func.bind(); } enum class KEYBOARD_TYPE { |