summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-13input_engine: Fix typo in TriggerOnAxisChange() parameter nameLioncash1-1/+1
2021-12-13input_engine: Simplify PreSet* family of functionsLioncash1-9/+9
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 qualifiersLioncash1-3/+3
These types are part of the InputCommon namespace.
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash1-2/+3
Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: Pass LedStatus by const referenceLioncash1-1/+1
Avoids copies where reasonably applicable
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash1-1/+1
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash1-1/+1
We can allow the name to be moved into, allowing allocations to be avoided.
2021-12-13input_engine: Remove callback clearing in constructorLioncash1-3/+1
The callback map is a member variable, so this will always be empty on initial construction.
2021-12-13input_engine: Remove unnecessary semi-colonsLioncash1-6/+6
Silences -Wextra-semi warnings
2021-12-13input_engine: Remove unnecessary returnLioncash1-3/+1
This is a void function, so it doesn't need this.
2021-11-25input_common: Move button names to the frontendgerman771-2/+3
2021-11-25kraken: Address comments from reviewgerman771-1/+1
Fix compiler bug
2021-11-25settings: Fix Debug controller type optionsgerman771-3/+2
2021-11-25kraken: Address comments from reviewgerman771-7/+7
start lion review
2021-11-25kraken: Fix errors from rebase and format filesgerman771-4/+6
2021-11-25core/hid: Add output devicesgerman771-6/+12
2021-11-25input_common: Create input_enginegerman771-0/+224