diff options
author | 2021-11-04 03:11:29 +1100 | |
---|---|---|
committer | 2021-11-04 03:11:29 +1100 | |
commit | 13612bbe0f23030b32a78e09fa0ae217c2d341ca (patch) | |
tree | 81f20bc015644fe80821d8ef37203d926eba46f7 /src/emu/input.cpp | |
parent | d29287e0925a308e3cdaba615e32f194071e22d9 (diff) |
-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.
Diffstat (limited to 'src/emu/input.cpp')
-rw-r--r-- | src/emu/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |