summaryrefslogtreecommitdiff
path: root/src/input_common/input_engine.h
AgeCommit message (Collapse)Author
2021-12-13input_engine: Fix typo in TriggerOnAxisChange() parameter nameLioncash
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: Remove left-over namespace qualifiersLioncash
These types are part of the InputCommon namespace.
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: Pass LedStatus by const referenceLioncash
Avoids copies where reasonably applicable
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash
We can allow the name to be moved into, allowing allocations to be avoided.
2021-12-13input_engine: Remove callback clearing in constructorLioncash
The callback map is a member variable, so this will always be empty on initial construction.
2021-12-13input_engine: Remove unnecessary semi-colonsLioncash
Silences -Wextra-semi warnings
2021-12-13input_engine: Remove unnecessary returnLioncash
This is a void function, so it doesn't need this.
2021-11-24input_common: Move button names to the frontendgerman77
2021-11-24kraken: Address comments from reviewgerman77
Fix compiler bug
2021-11-24settings: Fix Debug controller type optionsgerman77
2021-11-24kraken: Address comments from reviewgerman77
start lion review
2021-11-24kraken: Fix errors from rebase and format filesgerman77
2021-11-24core/hid: Add output devicesgerman77
2021-11-24input_common: Create input_enginegerman77