aboutsummaryrefslogtreecommitdiff
path: root/src/input_common
AgeCommit message (Collapse)Author
2021-12-13tas_input: Make TasAxes enum an enum classLioncash
Prevents these values from potentially clashing with anything in other headers.
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: 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: Remove left-over namespace qualifiersLioncash
These types are part of the InputCommon namespace.
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-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-29input_common: Fix error with thread nameNarr the Reg
2021-11-29Revert of b01aa72vperus
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
2021-11-29[input_common] Add completion test for CalibrationConfigurationJobvperus
2021-11-26input_common: Fully implement UDP controllersNarr the Reg
2021-11-24input_common: Move button names to the frontendgerman77
2021-11-24input_common: Fix SDL controller with inverted axisgerman77
2021-11-24kraken: Address comments from reviewgerman77
Fix compiler bug
2021-11-24core/hid: Improve accuary of mouse implementationgerman77
2021-11-24core/hid: Fully implement native mousegerman77
2021-11-24input_common: Allow keyboard to be backwards compatiblegerman77
2021-11-24core/hid: Improve accuracy of the keyboard implementationgerman77
2021-11-24input_common: Fix motion from 3 axisgerman77
2021-11-24core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman77
2021-11-24core/hid: Fully emulate motion from buttongerman77
2021-11-24second commit lion reviewgerman77
2021-11-24settings: Fix Debug controller type optionsgerman77
2021-11-24kraken: Address comments from reviewgerman77
start lion review
2021-11-24input_common: Revert deleted TAS functionsgerman77
2021-11-24input_common: Fix GC adapter initializationgerman77
Fix GC controller
2021-11-24input_common: Fix UDP uuidgerman77
2021-11-24input_common: Add multiple vibration curvesgerman77
2021-11-24core/hid: Rework battery mappingsgerman77
2021-11-24input_common: Add manual update options to input devicesgerman77
2021-11-24settings: Fix mouse and keyboard mappingsgerman77
2021-11-24kraken: Address comments from reviewgerman77
review fixes
2021-11-24service/hid: Fix gesture inputgerman77
2021-11-24configuration: Migrate controller settings to emulated controllergerman77
2021-11-24core/hid: Fix rumble too strong at 1%german77
2021-11-24core/hid: Only signal when neededgerman77
2021-11-24kraken: Fix errors from rebase and format filesgerman77
2021-11-24core/hid: Add output devicesgerman77
2021-11-24input_common: Rewrite main and add the new driversgerman77
2021-11-24input_common: Remove obsolete filesgerman77
2021-11-24input_common: Rewrite SDLgerman77
2021-11-24input_common: Rewrite udp clientgerman77
2021-11-24input_common: Rewrite tas inputgerman77