Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-13 | input_poller: Remove several unnecessary @param tags | Lioncash | |
Silences quite a bit of -Wdocumentation warnings, given the @param tag is only intended to be used to identify function parameters, not what it contains. | |||
2021-12-13 | Merge pull request #7575 from lioncash/input | bunnei | |
input_engine: Minor object churn cleanup | |||
2021-12-13 | tas_input: Avoid minor copies in Read/WriteCommandButtons() | Lioncash | |
We don't need to copy the whole pair | |||
2021-12-13 | tas_input: Remove unnecessary semicolon | Lioncash | |
Resolves a -Wextra-semi warning | |||
2021-12-13 | tas_input: Execute clear() even if empty | Lioncash | |
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us. | |||
2021-12-13 | tas_input: Remove unnecessary includes | Lioncash | |
Gets rid of indirect includes and includes only what the interface needs. | |||
2021-12-13 | tas_input: std::move strings into vector | Lioncash | |
While we're in the same area, we can also avoid performing std::stoi in a loop when it only needs to be performed once. | |||
2021-12-13 | tas_input: Use istringstream over stringstream | Lioncash | |
This is only using the input facilities, so we don't need to use the fully-fleged stringstream. | |||
2021-12-13 | tas_input: Use u8string_view instead of u8string | Lioncash | |
Same behavior, but without the potential for extra allocations. | |||
2021-12-13 | tas_input: Remove unused std::smatch variable | Lioncash | |
This also means we can get rid of the dependency on <regex> | |||
2021-12-13 | tas_input: Amend -Wdocumentation warnings | Lioncash | |
Parameters shouldn't have the colon by their name. | |||
2021-12-13 | tas_input: Make TasAxes enum an enum class | Lioncash | |
Prevents these values from potentially clashing with anything in other headers. | |||
2021-12-13 | input_engine: Fix typo in TriggerOnAxisChange() parameter name | Lioncash | |
2021-12-13 | input_engine: Simplify PreSet* family of functions | Lioncash | |
We can make use of try_emplace() to insert values only if they don't already exist. | |||
2021-12-13 | input_engine: Avoid redundant map lookups | Lioncash | |
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-13 | input_engine: Remove left-over namespace qualifiers | Lioncash | |
These types are part of the InputCommon namespace. | |||
2021-12-13 | input_engine: Iterate by reference rather than by value where applicable | Lioncash | |
Avoids creating copies of several object instances (some of which being over 100 bytes in size). | |||
2021-12-13 | input_engine: Take BasicMotion by const reference with SetMotion() and ↵ | Lioncash | |
TriggerOnMotionChange() Copies the BasicMotion instance once instead of twice. | |||
2021-12-13 | input_engine: std::move InputIdentifier in SetCallback() | Lioncash | |
Allows avoiding std::function allocations. | |||
2021-12-13 | input_engine: Pass LedStatus by const reference | Lioncash | |
Avoids copies where reasonably applicable | |||
2021-12-13 | input_engine: Pass VibrationStatus by const reference in SetRumble() | Lioncash | |
Avoids creating copies of the struct where not necessary. | |||
2021-12-13 | input_engine: std::move engine name where applicable | Lioncash | |
We can allow the name to be moved into, allowing allocations to be avoided. | |||
2021-12-13 | input_engine: Remove callback clearing in constructor | Lioncash | |
The callback map is a member variable, so this will always be empty on initial construction. | |||
2021-12-13 | input_engine: Remove unnecessary semi-colons | Lioncash | |
Silences -Wextra-semi warnings | |||
2021-12-13 | input_engine: Remove unnecessary return | Lioncash | |
This is a void function, so it doesn't need this. | |||
2021-11-29 | input_common: Fix error with thread name | Narr the Reg | |
2021-11-26 | input_common: Fully implement UDP controllers | Narr the Reg | |
2021-11-24 | input_common: Move button names to the frontend | german77 | |
2021-11-24 | input_common: Fix SDL controller with inverted axis | german77 | |
2021-11-24 | kraken: Address comments from review | german77 | |
Fix compiler bug | |||
2021-11-24 | core/hid: Improve accuary of mouse implementation | german77 | |
2021-11-24 | core/hid: Fully implement native mouse | german77 | |
2021-11-24 | input_common: Allow keyboard to be backwards compatible | german77 | |
2021-11-24 | core/hid: Improve accuracy of the keyboard implementation | german77 | |
2021-11-24 | input_common: Fix motion from 3 axis | german77 | |
2021-11-24 | core/hid: Prevent Emulated controller from flapping with multiple inputs devices | german77 | |
2021-11-24 | core/hid: Fully emulate motion from button | german77 | |
2021-11-24 | second commit lion review | german77 | |
2021-11-24 | settings: Fix Debug controller type options | german77 | |
2021-11-24 | kraken: Address comments from review | german77 | |
start lion review | |||
2021-11-24 | input_common: Revert deleted TAS functions | german77 | |
2021-11-24 | input_common: Fix GC adapter initialization | german77 | |
Fix GC controller | |||
2021-11-24 | input_common: Fix UDP uuid | german77 | |
2021-11-24 | input_common: Add multiple vibration curves | german77 | |
2021-11-24 | core/hid: Rework battery mappings | german77 | |
2021-11-24 | input_common: Add manual update options to input devices | german77 | |
2021-11-24 | settings: Fix mouse and keyboard mappings | german77 | |
2021-11-24 | kraken: Address comments from review | german77 | |
review fixes | |||
2021-11-24 | service/hid: Fix gesture input | german77 | |
2021-11-24 | configuration: Migrate controller settings to emulated controller | german77 | |