summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/tas_input.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* Merge pull request #7633 from german77/hotkeysbunnei2022-01-111-3/+4
|\ | | | | yuzu: Add controller hotkeys
| * yuzu: Add controller hotkeysgerman772022-01-071-3/+4
| |
* | input_common: Handle errors on TAS scriptsgerman772022-01-081-7/+24
|/
* Merge pull request #7575 from lioncash/inputbunnei2021-12-141-1/+1
|\ | | | | input_engine: Minor object churn cleanup
| * input_engine: std::move engine name where applicableLioncash2021-12-131-1/+1
| | | | | | | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* | tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash2021-12-131-2/+2
| | | | | | | | We don't need to copy the whole pair
* | tas_input: Remove unnecessary semicolonLioncash2021-12-131-1/+1
| | | | | | | | Resolves a -Wextra-semi warning
* | tas_input: Execute clear() even if emptyLioncash2021-12-131-3/+2
| | | | | | | | | | 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.
* | tas_input: std::move strings into vectorLioncash2021-12-131-21/+24
| | | | | | | | | | 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.
* | tas_input: Use istringstream over stringstreamLioncash2021-12-131-2/+2
| | | | | | | | | | This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
* | tas_input: Use u8string_view instead of u8stringLioncash2021-12-131-5/+6
| | | | | | | | Same behavior, but without the potential for extra allocations.
* | tas_input: Remove unused std::smatch variableLioncash2021-12-131-2/+0
| | | | | | | | This also means we can get rid of the dependency on <regex>
* | tas_input: Amend -Wdocumentation warningsLioncash2021-12-131-5/+5
| | | | | | | | Parameters shouldn't have the colon by their name.
* | tas_input: Make TasAxes enum an enum classLioncash2021-12-131-5/+9
|/ | | | | Prevents these values from potentially clashing with anything in other headers.
* kraken: Address comments from reviewgerman772021-11-251-1/+1
| | | | Fix compiler bug
* core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman772021-11-251-15/+9
|
* input_common: Revert deleted TAS functionsgerman772021-11-251-11/+12
|
* core/hid: Only signal when neededgerman772021-11-251-1/+1
|
* input_common: Rewrite gc_adaptergerman772021-11-251-0/+320