From 13612bbe0f23030b32a78e09fa0ae217c2d341ca Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 4 Nov 2021 03:11:29 +1100 Subject: -emu/ioport.cpp: Fixed some default setting handling issues. * Issues were unlikely to actually manifest unless you use controller configuration files to change specific system input defaults. -src/emu/output.h: Added size accessor to multi-element output finder. * std::size will work on the top rank of an outut finder now. Sorry for hitting emu.h again so soon. -lua: Exposed a couple more input related things. * Exposed constructor and a few methods on input_seq required for scripts to properly clear assignments or restore default settings. * Exposed ioport_manager::set_type_seq which is required to configure general input assignments properly. * Removed unnecessary use of sol::overload in favour of optional parameters. * Updated documentation and also fixed a few errors. -docs: Added description for axis setting assignments. --- src/emu/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/input.cpp') diff --git a/src/emu/input.cpp b/src/emu/input.cpp index 1390ce8086f..b58958a6935 100644 --- a/src/emu/input.cpp +++ b/src/emu/input.cpp @@ -469,7 +469,7 @@ bool input_seq::is_valid() const noexcept if (lastcode.internal()) return false; - // if this is the end, we're ok + // if this is the end, we're OK if (code == end_code) return true; -- cgit v1.2.3-70-g09d2