diff options
author | 2019-07-19 07:47:24 -0400 | |
---|---|---|
committer | 2019-07-19 09:29:23 -0400 | |
commit | 3aa9ee49927cd39b1dd7c06eaa1f4851ebf69b08 (patch) | |
tree | 7c509da5184cc10023248ad6db25fed6af704c7b /src/frontend/mame/luaengine.cpp | |
parent | a0ca0e8e7d2ba3f9c86436bb025a2db7f35cc5e6 (diff) |
Moving paste() from mame_ui_manager class to natural_keyboard class,
exposing to LUA
Diffstat (limited to 'src/frontend/mame/luaengine.cpp')
-rw-r--r-- | src/frontend/mame/luaengine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index fb42192da11..1ded924ccfa 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -766,6 +766,7 @@ void lua_engine::initialize() emu["romname"] = [this](){ return machine().basename(); }; emu["softname"] = [this]() { return machine().options().software_name(); }; emu["keypost"] = [this](const char *keys){ machine().ioport().natkeyboard().post_utf8(keys); }; + emu["paste"] = [this](){ machine().ioport().natkeyboard().paste(); }; emu["time"] = [this](){ return machine().time().as_double(); }; emu["start"] = [this](const char *driver) { int i = driver_list::find(driver); |