summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7859 from german77/battery_againbunnei2022-02-241-4/+4
|\ | | | | input_common: Remove battery duplicated struct and update every button press
| * input_common: Remove battery duplicated struct and update every button pressgerman772022-02-071-4/+4
| |
* | input/hid: Migrate to the new UUID implementationMorph2022-02-051-5/+5
|/
* input_common: nitpick about SetHatButton usageValeri2022-01-171-1/+1
|
* input_common: Use accelerometer data for mappinggerman772022-01-071-2/+10
|
* 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