input_common/tas: Document the main class
This commit is contained in:
parent
e6c4bf52f0
commit
33a1d790e8
8 changed files with 153 additions and 51 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
namespace TasInput {
|
||||
|
||||
// Supported keywords and buttons from a TAS file
|
||||
constexpr std::array<std::pair<std::string_view, TasButton>, 20> text_to_tas_button = {
|
||||
std::pair{"KEY_A", TasButton::BUTTON_A},
|
||||
{"KEY_B", TasButton::BUTTON_B},
|
||||
|
@ -214,7 +215,7 @@ void Tas::UpdateThread() {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
is_running = Settings::values.tas_loop;
|
||||
is_running = Settings::values.tas_loop.GetValue();
|
||||
current_command = 0;
|
||||
tas_data.fill({});
|
||||
if (!is_running) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue