summaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_adapter.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Rewrite gc_adapterGravatar german772021-11-241-168/+0
|
* Revert "input_common: Fix data race on GC implementation"Gravatar Fernando S2021-10-231-19/+27
|
* input_common: Fix data race on GC implementationGravatar Rodrigo Locatti2021-08-071-27/+19
|
* input_common: Reset GC sticks center by measuring multiple packetsGravatar german772021-04-261-0/+1
|
* general: Fix various spelling errorsGravatar Morph2021-01-021-3/+3
|
* input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph2020-11-151-2/+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-56/+90
|
* input_common/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-151-4/+2
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add automap feature for GC adapterGravatar german2020-09-181-0/+5
|
* 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.
* Fix axis thresholding while pollingGravatar ameerj2020-07-191-5/+2
| | | | axes were very sensitive when mapping controls.
* Refactor adapter codeGravatar Ameer2020-07-161-34/+5
|
* Rebase to masterGravatar Ameer2020-07-141-6/+9
|\
| * Fix crash if gc configured but adapter not connectedGravatar Ameer2020-07-141-3/+3
| |
| * Merge pull request #4314 from lioncash/input-warnGravatar bunnei2020-07-141-3/+3
| |\ | | | | | | gcadapter: Tidy up compiler warnings
| | * gc_adapter: Silence sign conversion warningsGravatar Lioncash2020-07-121-3/+3
| | |
| * | input_common: make libusb private to gc_adapterGravatar Jan Beich2020-07-131-1/+4
| |/
* | Rebase to master, fix merge conflictsGravatar Ameer2020-07-081-0/+1
|\|
| * 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 PR feedback, fix axis button thresholdingGravatar Ameer2020-07-071-2/+1
| |
* | Save origin state of GC controller analog features, compare against origin ↵Gravatar Ameer2020-07-061-6/+5
|/ | | | for input detection
* Fix for always firing triggers on some controllers, trigger threshold more ↵Gravatar Ameer2020-07-041-1/+3
| | | | universal
* Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Gravatar Ameer2020-07-031-6/+1
| | | | little touch ups
* Reset adapter state on init, fixes errors relating driver hang from ↵Gravatar Ameer2020-07-011-0/+1
| | | | unexpected unplug
* padbutton enum class and struct initiailizationGravatar Ameer2020-06-241-15/+15
|
* cleanup check access, read, and factory GetNextInput funcs. Use size rather ↵Gravatar Ameer2020-06-231-1/+7
| | | | than magic number
* Fix deallocation of GC AdapterGravatar Ameer2020-06-231-1/+0
|
* std::array and const reference passing of non-trivial objectsGravatar Ameer2020-06-221-3/+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-2/+3
|
* fix include threadGravatar Ameer2020-06-211-0/+1
|
* Singleton GC Adapter class, remove globals, fix naming conventionGravatar Ameer2020-06-211-48/+97
| | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
* Clang FormattingGravatar Ameer2020-06-211-9/+7
|
* GC Adapter ImplementationGravatar Ameer2020-06-211-0/+116