summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-04-07input_common: Replace lock_guard with scoped_lockMerry1-23/+23
2022-03-20input_common: Reduce unused includesameerj1-1/+0
2022-02-07input_common: Remove battery duplicated struct and update every button pressgerman771-4/+4
2022-02-05input/hid: Migrate to the new UUID implementationMorph1-5/+5
2022-01-17input_common: nitpick about SetHatButton usageValeri1-1/+1
2022-01-07input_common: Use accelerometer data for mappinggerman771-2/+10
2021-12-13input_engine: Simplify PreSet* family of functionsLioncash1-15/+5
We can make use of try_emplace() to insert values only if they don't already exist.
2021-12-13input_engine: Avoid redundant map lookupsLioncash1-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.
2021-12-13input_engine: Iterate by reference rather than by value where applicableLioncash1-10/+10
Avoids creating copies of several object instances (some of which being over 100 bytes in size).
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash1-2/+2
Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: std::move InputIdentifier in SetCallback()Lioncash1-1/+1
Allows avoiding std::function allocations.
2021-11-25kraken: Address comments from reviewgerman771-2/+2
Fix compiler bug
2021-11-25second commit lion reviewgerman771-2/+3
2021-11-25settings: Fix Debug controller type optionsgerman771-1/+1
2021-11-25settings: Fix mouse and keyboard mappingsgerman771-0/+2
2021-11-25input_common: Create input_enginegerman771-0/+361