summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7859 from german77/battery_againbunnei2022-02-241-14/+4
|\ | | | | input_common: Remove battery duplicated struct and update every button press
| * input_common: Remove battery duplicated struct and update every button pressgerman772022-02-071-14/+4
| |
* | general: Rename NewUUID to UUID, and remove the previous UUID implMorph2022-02-051-2/+2
| | | | | | | | This completes the removal of the old UUID implementation.
* | input/hid: Migrate to the new UUID implementationMorph2022-02-051-3/+3
|/
* input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial stateLioncash2022-01-241-1/+1
| | | | | The default constructor of a UUID instance doesn't initialize the underlying array.
* input_common/main: Pass MappingData by const reference in callbacksLioncash2022-01-241-1/+1
| | | | Avoids creating unnecessary 168 byte copies per callback invocation.
* input_engine: Fix typo in TriggerOnAxisChange() parameter nameLioncash2021-12-131-1/+1
|
* input_engine: Simplify PreSet* family of functionsLioncash2021-12-131-9/+9
| | | | | We can make use of try_emplace() to insert values only if they don't already exist.
* input_engine: Remove left-over namespace qualifiersLioncash2021-12-131-3/+3
| | | | These types are part of the InputCommon namespace.
* input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash2021-12-131-2/+3
| | | | Copies the BasicMotion instance once instead of twice.
* input_engine: Pass LedStatus by const referenceLioncash2021-12-131-1/+1
| | | | Avoids copies where reasonably applicable
* input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash2021-12-131-1/+1
| | | | Avoids creating copies of the struct where not necessary.
* input_engine: std::move engine name where applicableLioncash2021-12-131-1/+1
| | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* input_engine: Remove callback clearing in constructorLioncash2021-12-131-3/+1
| | | | | The callback map is a member variable, so this will always be empty on initial construction.
* input_engine: Remove unnecessary semi-colonsLioncash2021-12-131-6/+6
| | | | Silences -Wextra-semi warnings
* input_engine: Remove unnecessary returnLioncash2021-12-131-3/+1
| | | | This is a void function, so it doesn't need this.
* input_common: Move button names to the frontendgerman772021-11-251-2/+3
|
* kraken: Address comments from reviewgerman772021-11-251-1/+1
| | | | Fix compiler bug
* settings: Fix Debug controller type optionsgerman772021-11-251-3/+2
|
* kraken: Address comments from reviewgerman772021-11-251-7/+7
| | | | start lion review
* kraken: Fix errors from rebase and format filesgerman772021-11-251-4/+6
|
* core/hid: Add output devicesgerman772021-11-251-6/+12
|
* input_common: Create input_enginegerman772021-11-251-0/+224