Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-12-17 | [input_common] Move variable declaration closer to usage | vperus | 1 | -2/+2 | |
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function. | |||||
2021-12-14 | input/SDL: Update SDL hints | Valeri | 1 | -3/+4 | |
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways. | |||||
2021-12-13 | tas_input: Avoid minor copies in Read/WriteCommandButtons() | Lioncash | 1 | -2/+2 | |
We don't need to copy the whole pair | |||||
2021-12-13 | tas_input: Remove unnecessary semicolon | Lioncash | 1 | -1/+1 | |
Resolves a -Wextra-semi warning | |||||
2021-12-13 | tas_input: Execute clear() even if empty | Lioncash | 1 | -3/+2 | |
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 | 1 | -2/+2 | |
Gets rid of indirect includes and includes only what the interface needs. | |||||
2021-12-13 | tas_input: std::move strings into vector | Lioncash | 1 | -21/+24 | |
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 | 1 | -2/+2 | |
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 | 2 | -6/+7 | |
Same behavior, but without the potential for extra allocations. | |||||
2021-12-13 | tas_input: Remove unused std::smatch variable | Lioncash | 1 | -2/+0 | |
This also means we can get rid of the dependency on <regex> | |||||
2021-12-13 | tas_input: Amend -Wdocumentation warnings | Lioncash | 2 | -28/+30 | |
Parameters shouldn't have the colon by their name. | |||||
2021-12-13 | tas_input: Make TasAxes enum an enum class | Lioncash | 2 | -5/+14 | |
Prevents these values from potentially clashing with anything in other headers. | |||||
2021-12-13 | input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange() | Lioncash | 1 | -2/+2 | |
Copies the BasicMotion instance once instead of twice. | |||||
2021-12-13 | input_engine: Pass VibrationStatus by const reference in SetRumble() | Lioncash | 4 | -6/+8 | |
Avoids creating copies of the struct where not necessary. | |||||
2021-12-13 | input_engine: std::move engine name where applicable | Lioncash | 14 | -28/+28 | |
We can allow the name to be moved into, allowing allocations to be avoided. | |||||
2021-11-30 | input_common: Fix error with thread name | Narr the Reg | 1 | -2/+1 | |
2021-11-29 | Revert of b01aa72 | vperus | 1 | -35/+39 | |
Caused worker_thread to be stuck in Stage1Completed state until job's destruction. | |||||
2021-11-26 | input_common: Fully implement UDP controllers | Narr the Reg | 2 | -8/+254 | |
2021-11-25 | input_common: Move button names to the frontend | german77 | 6 | -33/+35 | |
2021-11-25 | input_common: Fix SDL controller with inverted axis | german77 | 1 | -23/+0 | |
2021-11-25 | kraken: Address comments from review | german77 | 10 | -23/+11 | |
Fix compiler bug | |||||
2021-11-25 | core/hid: Improve accuary of mouse implementation | german77 | 2 | -8/+14 | |
2021-11-25 | core/hid: Fully implement native mouse | german77 | 2 | -6/+32 | |
2021-11-25 | input_common: Allow keyboard to be backwards compatible | german77 | 2 | -14/+52 | |
2021-11-25 | core/hid: Improve accuracy of the keyboard implementation | german77 | 2 | -4/+56 | |
2021-11-25 | core/hid: Prevent Emulated controller from flapping with multiple inputs devices | german77 | 2 | -23/+12 | |
2021-11-25 | second commit lion review | german77 | 6 | -19/+18 | |
2021-11-25 | settings: Fix Debug controller type options | german77 | 1 | -1/+0 | |
2021-11-25 | kraken: Address comments from review | german77 | 7 | -23/+23 | |
start lion review | |||||
2021-11-25 | input_common: Revert deleted TAS functions | german77 | 2 | -18/+19 | |
2021-11-25 | input_common: Fix GC adapter initialization | german77 | 1 | -12/+12 | |
Fix GC controller | |||||
2021-11-25 | input_common: Fix UDP uuid | german77 | 2 | -1/+11 | |
2021-11-25 | input_common: Add multiple vibration curves | german77 | 1 | -14/+19 | |
2021-11-25 | settings: Fix mouse and keyboard mappings | german77 | 2 | -1/+17 | |
2021-11-25 | kraken: Address comments from review | german77 | 2 | -2/+4 | |
review fixes | |||||
2021-11-25 | service/hid: Fix gesture input | german77 | 2 | -2/+29 | |
2021-11-25 | core/hid: Fix rumble too strong at 1% | german77 | 1 | -1/+19 | |
2021-11-25 | core/hid: Only signal when needed | german77 | 5 | -23/+84 | |
2021-11-25 | kraken: Fix errors from rebase and format files | german77 | 3 | -3/+4 | |
2021-11-25 | core/hid: Add output devices | german77 | 4 | -6/+14 | |
2021-11-25 | input_common: Rewrite SDL | german77 | 2 | -0/+1035 | |
2021-11-25 | input_common: Rewrite udp client | german77 | 2 | -0/+491 | |
2021-11-25 | input_common: Rewrite gc_adapter | german77 | 4 | -0/+1131 | |
2021-11-25 | input_common: Rewrite touch | german77 | 2 | -0/+97 | |
2021-11-25 | input_common: Rewrite mouse | german77 | 2 | -0/+215 | |
2021-11-25 | input_common: Rewrite keyboard | german77 | 2 | -0/+79 | |