summaryrefslogtreecommitdiff
path: root/src/input_common/input_engine.cpp
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2023-05-19input_common: Map motion with relative values not absolute onesgerman77
2023-05-06input_common: Revert debugging changesgerman77
2023-05-05input_common: Add property to invert an axis buttonNarr the Reg
2023-01-19core: hid: Enable pulling color data from controllersNarr the Reg
2022-10-02input_common: Create virtual amiibo drivergerman77
2022-07-23input_common: Add camera drivergerman77
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-04-07input_common: Replace lock_guard with scoped_lockMerry
2022-03-20input_common: Reduce unused includesameerj
2022-02-24Merge pull request #7859 from german77/battery_againbunnei
input_common: Remove battery duplicated struct and update every button press
2022-02-06input_common: Remove battery duplicated struct and update every button pressgerman77
2022-02-05input/hid: Migrate to the new UUID implementationMorph
2022-01-17input_common: nitpick about SetHatButton usageValeri
2022-01-06input_common: Use accelerometer data for mappinggerman77
2021-12-13input_engine: Simplify PreSet* family of functionsLioncash
We can make use of try_emplace() to insert values only if they don't already exist.
2021-12-13input_engine: Avoid redundant map lookupsLioncash
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 applicableLioncash
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 ↵Lioncash
TriggerOnMotionChange() Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: std::move InputIdentifier in SetCallback()Lioncash
Allows avoiding std::function allocations.
2021-11-24kraken: Address comments from reviewgerman77
Fix compiler bug
2021-11-24second commit lion reviewgerman77
2021-11-24settings: Fix Debug controller type optionsgerman77
2021-11-24settings: Fix mouse and keyboard mappingsgerman77
2021-11-24input_common: Create input_enginegerman77