From e008c7b1b1042d644be2a1e177ffa15d53e942c5 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 9 Dec 2020 01:01:22 +1100 Subject: -Lua engine cleanup, input edition: * Modernised and cleaned up Lua bindings for input classes. * Exposed the input_sequence_poller class to Lua and updated the autofire and cheat plugins to use it, rather than continuing to pretend it's part of the input manager. * Exposed more of the natural keyboard manager, including the ability to enable/disable individual keyboard and keypad devices like you can from the keyboard mode menu. * Exposed a few more things on ioport_port and input_device. -plugins/cheat: Fixed menu item not updating visually when disabling a cheat with UI Left. -plugins/cheatfind: Fixed not finding the first screen after screen enumerator was exposed as an object rather than using a table. -bwidow.cpp, pacman.cpp: Minor cleanup to recent changes. --- src/frontend/mame/luaengine.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/frontend/mame/luaengine.h') diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h index 14d47fbf89c..bfcbaf04a50 100644 --- a/src/frontend/mame/luaengine.h +++ b/src/frontend/mame/luaengine.h @@ -12,8 +12,6 @@ #pragma once -#include "iptseqpoll.h" - #include #include #include @@ -35,10 +33,10 @@ class lua_engine public: // helper structures template struct devenum; - template struct immutable_container_helper; - + template struct simple_list_wrapper; template struct tag_object_ptr_map; template using standard_tag_object_ptr_map = tag_object_ptr_map > >; + template struct immutable_container_helper; // construction/destruction lua_engine(); @@ -146,7 +144,6 @@ private: lua_State *m_lua_state; std::unique_ptr m_sol_state; running_machine *m_machine; - std::unique_ptr m_seq_poll; std::vector m_menu; -- cgit v1.2.3