summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7302 from VPeruS/check-deadlockbunnei2021-12-181-35/+39
|\ | | | | [input_common] Fixed thread hang
| * [input_common] Move variable declaration closer to usagevperus2021-12-171-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.
| * Revert of b01aa72vperus2021-11-291-35/+39
| | | | | | | | Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
* | Merge pull request #7577 from v1993/patch-2Narr the Reg2021-12-141-3/+4
|\ \ | | | | | | input/SDL: Update SDL hints
| * | input/SDL: Update SDL hintsValeri2021-12-141-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.
* | | Merge pull request #7575 from lioncash/inputbunnei2021-12-1414-36/+38
|\ \ \ | | | | | | | | input_engine: Minor object churn cleanup
| * | | input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | | Copies the BasicMotion instance once instead of twice.
| * | | input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash2021-12-134-6/+8
| | | | | | | | | | | | | | | | Avoids creating copies of the struct where not necessary.
| * | | input_engine: std::move engine name where applicableLioncash2021-12-1314-28/+28
| |/ / | | | | | | | | | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* | | tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash2021-12-131-2/+2
| | | | | | | | | | | | We don't need to copy the whole pair
* | | tas_input: Remove unnecessary semicolonLioncash2021-12-131-1/+1
| | | | | | | | | | | | Resolves a -Wextra-semi warning
* | | tas_input: Execute clear() even if emptyLioncash2021-12-131-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.
* | | tas_input: Remove unnecessary includesLioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | Gets rid of indirect includes and includes only what the interface needs.
* | | tas_input: std::move strings into vectorLioncash2021-12-131-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.
* | | tas_input: Use istringstream over stringstreamLioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
* | | tas_input: Use u8string_view instead of u8stringLioncash2021-12-132-6/+7
| | | | | | | | | | | | Same behavior, but without the potential for extra allocations.
* | | tas_input: Remove unused std::smatch variableLioncash2021-12-131-2/+0
| | | | | | | | | | | | This also means we can get rid of the dependency on <regex>
* | | tas_input: Amend -Wdocumentation warningsLioncash2021-12-132-28/+30
| | | | | | | | | | | | Parameters shouldn't have the colon by their name.
* | | tas_input: Make TasAxes enum an enum classLioncash2021-12-132-5/+14
|/ / | | | | | | | | Prevents these values from potentially clashing with anything in other headers.
* / input_common: Fix error with thread nameNarr the Reg2021-11-301-2/+1
|/
* input_common: Fully implement UDP controllersNarr the Reg2021-11-262-8/+254
|
* input_common: Move button names to the frontendgerman772021-11-256-33/+35
|
* input_common: Fix SDL controller with inverted axisgerman772021-11-251-23/+0
|
* kraken: Address comments from reviewgerman772021-11-2510-23/+11
| | | | Fix compiler bug
* core/hid: Improve accuary of mouse implementationgerman772021-11-252-8/+14
|
* core/hid: Fully implement native mousegerman772021-11-252-6/+32
|
* input_common: Allow keyboard to be backwards compatiblegerman772021-11-252-14/+52
|
* core/hid: Improve accuracy of the keyboard implementationgerman772021-11-252-4/+56
|
* core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman772021-11-252-23/+12
|
* second commit lion reviewgerman772021-11-256-19/+18
|
* settings: Fix Debug controller type optionsgerman772021-11-251-1/+0
|
* kraken: Address comments from reviewgerman772021-11-257-23/+23
| | | | start lion review
* input_common: Revert deleted TAS functionsgerman772021-11-252-18/+19
|
* input_common: Fix GC adapter initializationgerman772021-11-251-12/+12
| | | | Fix GC controller
* input_common: Fix UDP uuidgerman772021-11-252-1/+11
|
* input_common: Add multiple vibration curvesgerman772021-11-251-14/+19
|
* settings: Fix mouse and keyboard mappingsgerman772021-11-252-1/+17
|
* kraken: Address comments from reviewgerman772021-11-252-2/+4
| | | | review fixes
* service/hid: Fix gesture inputgerman772021-11-252-2/+29
|
* core/hid: Fix rumble too strong at 1%german772021-11-251-1/+19
|
* core/hid: Only signal when neededgerman772021-11-255-23/+84
|
* kraken: Fix errors from rebase and format filesgerman772021-11-253-3/+4
|
* core/hid: Add output devicesgerman772021-11-254-6/+14
|
* input_common: Rewrite SDLgerman772021-11-252-0/+1035
|
* input_common: Rewrite udp clientgerman772021-11-252-0/+491
|
* input_common: Rewrite gc_adaptergerman772021-11-254-0/+1131
|
* input_common: Rewrite touchgerman772021-11-252-0/+97
|
* input_common: Rewrite mousegerman772021-11-252-0/+215
|
* input_common: Rewrite keyboardgerman772021-11-252-0/+79