summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.h (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-03-22input_common: Map sticks correctly when mapped sidewaysNarr the Reg1-0/+5
2022-02-07input_common: Remove battery duplicated struct and update every button pressgerman771-14/+4
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph1-2/+2
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationMorph1-3/+3
2022-01-24input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial stateLioncash1-1/+1
The default constructor of a UUID instance doesn't initialize the underlying array.
2022-01-24input_common/main: Pass MappingData by const reference in callbacksLioncash1-1/+1
Avoids creating unnecessary 168 byte copies per callback invocation.
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