summaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Rewrite gc_adapterGravatar german772021-11-244-1108/+0
|
* Revert "input_common: Fix data race on GC implementation"Gravatar Fernando S2021-10-232-120/+115
|
* input_common: Fix data race on GC implementationGravatar Rodrigo Locatti2021-08-072-115/+120
|
* 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-262-2/+7
|
* common: Move settings to common from core.Gravatar bunnei2021-04-141-1/+1
| | | | - Removes a dependency on core and input_common from common.
* Make settings controller image change with controller inputGravatar german2021-02-061-0/+10
|
* general: Fix various spelling errorsGravatar Morph2021-01-021-3/+3
|
* Allow to invert analog axis with right clickGravatar german2020-12-261-7/+21
|
* input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].Gravatar bunnei2020-11-231-2/+2
|
* input_common: Add more missing [[maybe_unused]] from #4927.Gravatar bunnei2020-11-231-1/+2
|
* input_common: Treat warnings as errorsGravatar Lioncash2020-11-221-1/+0
| | | | | Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
* Modify rumble amplificationGravatar german772020-11-191-2/+2
|
* input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph2020-11-154-16/+55
| | | | | | 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-283-303/+433
|
* input_common/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-153-44/+45
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add automap feature for GC adapterGravatar german2020-09-182-0/+93
|
* 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-073-9/+9
| | | | This doesn't modify instance state, so it can be made const.
* Merge pull request #4583 from lioncash/truncGravatar bunnei2020-09-031-3/+5
|\ | | | | gc_poller: Resolve compilation warnings on MSVC
| * gc_poller: Resolve compilation warnings on MSVCGravatar Lioncash2020-08-251-3/+5
| | | | | | | | We just need to make our intentional implicit truncations explicit.
* | input_common: Fix directional deadzone valuesGravatar Morph2020-08-261-1/+1
| | | | | | | | The hardware tested value is 0.5 which translates to SHRT_MAX / 2
* | Project Mjölnir: Part 1Gravatar Morph2020-08-261-1/+1
|/ | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
* Remove UI changesGravatar ameerj2020-08-101-1/+1
| | | | This PR is now only the Analog devices handling the range value defaulting at 100%
* Add range slider functionality for gc adapterGravatar ameerj2020-08-101-7/+7
|
* 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
|
* gc_poller: Resolve -Wsign-compare warningGravatar Lioncash2020-07-251-1/+2
|
* gc_poller: Resolve -Wredundant-move warningGravatar Lioncash2020-07-251-2/+1
|
* Fix axis thresholding while pollingGravatar ameerj2020-07-191-5/+2
| | | | axes were very sensitive when mapping controls.
* std::size_t where appropriate, make error message more clear if can't readGravatar ameerj2020-07-171-3/+4
|
* Refactor adapter codeGravatar Ameer2020-07-162-179/+44
|
* Rebase to masterGravatar Ameer2020-07-144-28/+45
|\
| * Fix crash if gc configured but adapter not connectedGravatar Ameer2020-07-142-15/+25
| |
| * Merge pull request #4314 from lioncash/input-warnGravatar bunnei2020-07-144-11/+15
| |\ | | | | | | gcadapter: Tidy up compiler warnings
| | * gc_poller: Mark GCButtonFactory::GetNextInput() as constGravatar Lioncash2020-07-122-2/+2
| | | | | | | | | | | | This doesn't modify class instance state.
| | * gc_poller: Get rid of undefined behavior in Create()Gravatar Lioncash2020-07-121-0/+4
| | | | | | | | | | | | Ensures that the function always has returns in all control paths.
| | * gc_poller: Silence sign conversion warningsGravatar Lioncash2020-07-121-1/+1
| | |
| | * 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-122-7/+7
| | |
| * | input_common: make libusb private to gc_adapterGravatar Jan Beich2020-07-132-1/+5
| |/
* | 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-082-10/+30
|\|
| * Merge pull request #4266 from jbeich/freebsdGravatar bunnei2020-07-081-0/+1
| |\ | | | | | | gcadapter: unbreak build on FreeBSD
| | * input_common/gcadapter: add missing C++11 header required by libc++Gravatar Jan Beich2020-07-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/input_common/gcadapter/gc_adapter.cpp:8: src/./input_common/gcadapter/gc_adapter.h:77:10: error: no template named 'unordered_map' in namespace 'std' std::unordered_map<int, bool> buttons; ~~~~~^ src/./input_common/gcadapter/gc_adapter.h:78:10: error: no template named 'unordered_map' in namespace 'std' std::unordered_map<int, u16> axes; ~~~~~^
| * | 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-073-58/+22
| |
* | Brace the code! Fix compile error due to class member construction orderGravatar Ameer2020-07-062-15/+31
| |
* | Recalibrate reconnected controllersGravatar Ameer2020-07-061-0/+5
| |