Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input_engine: Simplify PreSet* family of functions | Lioncash | 2021-12-13 | 1 | -15/+5 |
| | | | | | We can make use of try_emplace() to insert values only if they don't already exist. | ||||
* | input_engine: Avoid redundant map lookups | Lioncash | 2021-12-13 | 1 | -16/+24 |
| | | | | | | | | 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. | ||||
* | input_engine: Iterate by reference rather than by value where applicable | Lioncash | 2021-12-13 | 1 | -10/+10 |
| | | | | | Avoids creating copies of several object instances (some of which being over 100 bytes in size). | ||||
* | input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange() | Lioncash | 2021-12-13 | 1 | -2/+2 |
| | | | | Copies the BasicMotion instance once instead of twice. | ||||
* | input_engine: std::move InputIdentifier in SetCallback() | Lioncash | 2021-12-13 | 1 | -1/+1 |
| | | | | Allows avoiding std::function allocations. | ||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 1 | -2/+2 |
| | | | | Fix compiler bug | ||||
* | second commit lion review | german77 | 2021-11-25 | 1 | -2/+3 |
| | |||||
* | settings: Fix Debug controller type options | german77 | 2021-11-25 | 1 | -1/+1 |
| | |||||
* | settings: Fix mouse and keyboard mappings | german77 | 2021-11-25 | 1 | -0/+2 |
| | |||||
* | input_common: Create input_engine | german77 | 2021-11-25 | 1 | -0/+361 |