summaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_adapter.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Rewrite gc_adapterGravatar german772021-11-241-506/+0
|
* Revert "input_common: Fix data race on GC implementation"Gravatar Fernando S2021-10-231-101/+88
|
* input_common: Fix data race on GC implementationGravatar Rodrigo Locatti2021-08-071-88/+101
|
* input_common: Remove #pragma warning directives for external headersGravatar Morph2021-06-281-7/+0
|
* input_common: Reset GC sticks center by measuring multiple packetsGravatar german772021-04-261-2/+6
|
* common: Move settings to common from core.Gravatar bunnei2021-04-141-1/+1
| | | | - Removes a dependency on core and input_common from common.
* input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph2020-11-151-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.
* Add hotplug, rumble and fix 3rd party adapters for the GC adapterGravatar german2020-10-281-189/+273
|
* input_common/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-151-17/+18
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add automap feature for GC adapterGravatar german2020-09-181-0/+88
|
* gc_adapter: Disable MSVC nonstandard extension warning on libusb.hGravatar ReinUsesLisp2020-09-141-0/+9
| | | | Pragma disable zero-sized array nonstandard extension warning on MSVC.
* gc_adapter: Make DeviceConnected() a const member functionGravatar Lioncash2020-09-071-1/+1
| | | | This doesn't modify instance state, so it can be made const.
* GCAdapter: only join worker thread if running & joinableGravatar Brian J. Tarricone2020-07-261-1/+3
|
* gc_adapter: Resolve C++20 deprecation warningGravatar Lioncash2020-07-251-1/+1
|
* std::size_t where appropriate, make error message more clear if can't readGravatar ameerj2020-07-171-3/+4
|
* Refactor adapter codeGravatar Ameer2020-07-161-145/+39
|
* Rebase to masterGravatar Ameer2020-07-141-5/+6
|\
| * Merge pull request #4314 from lioncash/input-warnGravatar bunnei2020-07-141-5/+5
| |\ | | | | | | gcadapter: Tidy up compiler warnings
| | * gc_adapter: Remove deprecated usage of = in lambda capturesGravatar Lioncash2020-07-121-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.
| | * gc_adapter: Silence sign conversion warningsGravatar Lioncash2020-07-121-4/+4
| | |
| * | input_common: make libusb private to gc_adapterGravatar Jan Beich2020-07-131-0/+1
| |/
* | Break out of scan loop if can't find adapter on first runGravatar Ameer2020-07-101-0/+3
| |
* | Rebase to master, fix merge conflictsGravatar Ameer2020-07-081-10/+29
|\|
| * Address comments for better clarity/signed dev countGravatar Ameer2020-07-081-11/+15
| |
| * Add more libusb error checksGravatar Ameer2020-07-081-3/+18
| |
* | Address PR feedback, fix axis button thresholdingGravatar Ameer2020-07-071-44/+18
| |
* | Brace the code! Fix compile error due to class member construction orderGravatar Ameer2020-07-061-12/+27
| |
* | Recalibrate reconnected controllersGravatar Ameer2020-07-061-0/+5
| |
* | Save origin state of GC controller analog features, compare against origin ↵Gravatar Ameer2020-07-061-18/+54
|/ | | | for input detection
* Fix for always firing triggers on some controllers, trigger threshold more ↵Gravatar Ameer2020-07-041-4/+2
| | | | universal
* Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Gravatar Ameer2020-07-031-14/+26
| | | | little touch ups
* Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Gravatar Ameer2020-07-021-0/+12
| | | | config, clarify some code blocks for better readability
* Reset adapter state on init, fixes errors relating driver hang from ↵Gravatar Ameer2020-07-011-0/+8
| | | | unexpected unplug
* Address feedback regarding increments, const vars, and general cleanupGravatar Ameer2020-06-301-14/+14
|
* fix implicit conversion of size_t type to intGravatar Ameer2020-06-301-1/+1
|
* left const auto&, comment punctuation.Gravatar Ameer J2020-06-261-2/+2
| | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* const& to button in button arrayGravatar Ameer J2020-06-251-2/+2
| | | Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com>
* Stop reading loop if error is encounteredGravatar Ameer2020-06-251-4/+4
|
* padbutton enum class and struct initiailizationGravatar Ameer2020-06-241-18/+13
|
* cleanup check access, read, and factory GetNextInput funcs. Use size rather ↵Gravatar Ameer2020-06-231-93/+76
| | | | than magic number
* Fix deallocation of GC AdapterGravatar Ameer2020-06-231-3/+7
|
* std::array and const reference passing of non-trivial objectsGravatar Ameer2020-06-221-11/+10
|
* fix for sleep using stlGravatar Ameer2020-06-211-1/+3
|
* shared_ptr for the GC adapter class, constexpr constantsGravatar Ameer2020-06-211-24/+16
|
* std::arrays where appropriate, clear q in adapter class, other touch upsGravatar Ameer2020-06-211-7/+9
|
* Singleton GC Adapter class, remove globals, fix naming conventionGravatar Ameer2020-06-211-89/+87
| | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
* Clang FormattingGravatar Ameer2020-06-211-33/+57
|
* GC Adapter ImplementationGravatar Ameer2020-06-211-0/+350