aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/tas_input.cpp
AgeCommit message (Collapse)Author
2023-01-07TAS: Show all script lengths for multiplayerMonsterDruide1
2022-11-22general: fix compile for Apple ClangLiam
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-01-11Merge pull request #7633 from german77/hotkeysbunnei
yuzu: Add controller hotkeys
2022-01-08input_common: Handle errors on TAS scriptsgerman77
2022-01-06yuzu: Add controller hotkeysgerman77
2021-12-13Merge pull request #7575 from lioncash/inputbunnei
input_engine: Minor object churn cleanup
2021-12-13tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash
We don't need to copy the whole pair
2021-12-13tas_input: Remove unnecessary semicolonLioncash
Resolves a -Wextra-semi warning
2021-12-13tas_input: Execute clear() even if emptyLioncash
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.
2021-12-13tas_input: std::move strings into vectorLioncash
While we're in the same area, we can also avoid performing std::stoi in a loop when it only needs to be performed once.
2021-12-13tas_input: Use istringstream over stringstreamLioncash
This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
2021-12-13tas_input: Use u8string_view instead of u8stringLioncash
Same behavior, but without the potential for extra allocations.
2021-12-13tas_input: Remove unused std::smatch variableLioncash
This also means we can get rid of the dependency on <regex>
2021-12-13tas_input: Amend -Wdocumentation warningsLioncash
Parameters shouldn't have the colon by their name.
2021-12-13tas_input: Make TasAxes enum an enum classLioncash
Prevents these values from potentially clashing with anything in other headers.
2021-12-13input_engine: std::move engine name where applicableLioncash
We can allow the name to be moved into, allowing allocations to be avoided.
2021-11-24kraken: Address comments from reviewgerman77
Fix compiler bug
2021-11-24core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman77
2021-11-24input_common: Revert deleted TAS functionsgerman77
2021-11-24core/hid: Only signal when neededgerman77
2021-11-24input_common: Rewrite gc_adaptergerman77