summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_engine: Simplify PreSet* family of functionsLioncash2021-12-131-15/+5
| | | | | We can make use of try_emplace() to insert values only if they don't already exist.
* input_engine: Avoid redundant map lookupsLioncash2021-12-131-16/+24
| | | | | | | | We can use iterators to avoid looking up into maps twice in the getter functions. At the same time we can also avoid copying the ControllerData structs, since they're 264 bytes in size.
* input_engine: Iterate by reference rather than by value where applicableLioncash2021-12-131-10/+10
| | | | | Avoids creating copies of several object instances (some of which being over 100 bytes in size).
* input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash2021-12-131-2/+2
| | | | Copies the BasicMotion instance once instead of twice.
* input_engine: std::move InputIdentifier in SetCallback()Lioncash2021-12-131-1/+1
| | | | Allows avoiding std::function allocations.
* kraken: Address comments from reviewgerman772021-11-251-2/+2
| | | | Fix compiler bug
* second commit lion reviewgerman772021-11-251-2/+3
|
* settings: Fix Debug controller type optionsgerman772021-11-251-1/+1
|
* settings: Fix mouse and keyboard mappingsgerman772021-11-251-0/+2
|
* input_common: Create input_enginegerman772021-11-251-0/+361