summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/gc_adapter.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-15Fix more typosGravatar Viktor Szépe1-2/+2
2023-11-11core: hid: Split SL and SR buttonsGravatar german771-3/+5
2023-03-12general: fix spelling mistakesGravatar Liam1-1/+1
2023-02-14remove static from pointer sized or smaller types for aesthetics, change ↵Gravatar arades791-4/+4
constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation ↵Gravatar arades791-4/+4
where possible Signed-off-by: arades79 <scravers@protonmail.com>
2023-01-25input_common: Make use of StoppableTimedWaitGravatar Morph1-2/+2
2023-01-19input_common: Use DriverResult on all enginesGravatar german771-3/+3
2022-10-21input_common: cache vibration testsGravatar german771-1/+5
2022-10-03common: remove "yuzu:" prefix from thread namesGravatar Liam1-2/+2
2022-05-02Revert "gc_adapter: fix libusb import on GCC11.2"Gravatar Morph1-4/+0
This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
2022-05-02gc_adapter: fix libusb import on GCC11.2Gravatar Levi Behunin1-0/+4
Just to silence an intermittent error. GCC11.2 complains cannot find 'libusb.h' during a fresh build.
2022-04-28chore: add missing SPDX tagsGravatar Andrea Pappacoda1-3/+2
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-03-21input_common: Map sticks correctly when mapped sidewaysGravatar Narr the Reg1-0/+16
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implGravatar Morph1-1/+1
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationGravatar Morph1-1/+1
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Gravatar Lioncash1-2/+2
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableGravatar Lioncash1-1/+1
We can allow the name to be moved into, allowing allocations to be avoided.
2021-11-24input_common: Move button names to the frontendGravatar german771-18/+18
2021-11-24kraken: Address comments from reviewGravatar german771-14/+2
Fix compiler bug
2021-11-24kraken: Address comments from reviewGravatar german771-5/+5
start lion review
2021-11-24input_common: Fix GC adapter initializationGravatar german771-12/+12
Fix GC controller
2021-11-24service/hid: Fix gesture inputGravatar german771-2/+2
2021-11-24core/hid: Only signal when neededGravatar german771-12/+63
2021-11-24kraken: Fix errors from rebase and format filesGravatar german771-1/+2
2021-11-24core/hid: Add output devicesGravatar german771-2/+6
2021-11-24input_common: Rewrite gc_adapterGravatar german771-221/+198
2021-10-23Revert "input_common: Fix data race on GC implementation"Gravatar Fernando S1-101/+88
2021-08-07input_common: Fix data race on GC implementationGravatar Rodrigo Locatti1-88/+101
2021-06-28input_common: Remove #pragma warning directives for external headersGravatar Morph1-7/+0
2021-04-26input_common: Reset GC sticks center by measuring multiple packetsGravatar german771-2/+6
2021-04-14common: Move settings to common from core.Gravatar bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph1-4/+2
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
2020-10-28Add hotplug, rumble and fix 3rd party adapters for the GC adapterGravatar german1-189/+273
2020-10-15input_common/CMakeLists: Make some warnings errorsGravatar Lioncash1-17/+18
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-18Add automap feature for GC adapterGravatar german1-0/+88
2020-09-14gc_adapter: Disable MSVC nonstandard extension warning on libusb.hGravatar ReinUsesLisp1-0/+9
Pragma disable zero-sized array nonstandard extension warning on MSVC.
2020-09-07gc_adapter: Make DeviceConnected() a const member functionGravatar Lioncash1-1/+1
This doesn't modify instance state, so it can be made const.
2020-07-26GCAdapter: only join worker thread if running & joinableGravatar Brian J. Tarricone1-1/+3
2020-07-25gc_adapter: Resolve C++20 deprecation warningGravatar Lioncash1-1/+1
2020-07-17std::size_t where appropriate, make error message more clear if can't readGravatar ameerj1-3/+4
2020-07-16Refactor adapter codeGravatar Ameer1-145/+39
2020-07-13input_common: make libusb private to gc_adapterGravatar Jan Beich1-0/+1
2020-07-12gc_adapter: Remove deprecated usage of = in lambda capturesGravatar Lioncash1-1/+1
It's deprecated in C++20 to use = to capture the this pointer. Instead, we can simply pass this as an argument to the thread constructor.
2020-07-12gc_adapter: Silence sign conversion warningsGravatar Lioncash1-4/+4
2020-07-10Break out of scan loop if can't find adapter on first runGravatar Ameer1-0/+3
2020-07-08Address comments for better clarity/signed dev countGravatar Ameer1-11/+15
2020-07-08Add more libusb error checksGravatar Ameer1-3/+18
2020-07-07Address PR feedback, fix axis button thresholdingGravatar Ameer1-44/+18
2020-07-06Brace the code! Fix compile error due to class member construction orderGravatar Ameer1-12/+27
2020-07-06Recalibrate reconnected controllersGravatar Ameer1-0/+5