summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter/gc_adapter.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Reset GC sticks center by measuring multiple packetsgerman772021-04-271-0/+1
|
* general: Fix various spelling errorsMorph2021-01-021-3/+3
|
* input_common: Add VibrationDevice and VibrationDeviceFactoryMorph2020-11-161-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 adaptergerman2020-10-291-56/+90
|
* input_common/CMakeLists: Make some warnings errorsLioncash2020-10-161-4/+2
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add automap feature for GC adaptergerman2020-09-181-0/+5
|
* gc_adapter: Make DeviceConnected() a const member functionLioncash2020-09-071-1/+1
| | | | This doesn't modify instance state, so it can be made const.
* Fix axis thresholding while pollingameerj2020-07-191-5/+2
| | | | axes were very sensitive when mapping controls.
* Refactor adapter codeAmeer2020-07-161-34/+5
|
* Rebase to masterAmeer2020-07-141-6/+9
|\
| * Fix crash if gc configured but adapter not connectedAmeer2020-07-141-3/+3
| |
| * Merge pull request #4314 from lioncash/input-warnbunnei2020-07-141-3/+3
| |\ | | | | | | gcadapter: Tidy up compiler warnings
| | * gc_adapter: Silence sign conversion warningsLioncash2020-07-121-3/+3
| | |
| * | input_common: make libusb private to gc_adapterJan Beich2020-07-131-1/+4
| |/
* | Rebase to master, fix merge conflictsAmeer2020-07-091-0/+1
|\|
| * input_common/gcadapter: add missing C++11 header required by libc++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 thresholdingAmeer2020-07-071-2/+1
| |
* | Save origin state of GC controller analog features, compare against origin for input detectionAmeer2020-07-071-6/+5
|/
* Fix for always firing triggers on some controllers, trigger threshold more universalAmeer2020-07-041-1/+3
|
* Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch upsAmeer2020-07-031-6/+1
|
* Reset adapter state on init, fixes errors relating driver hang from unexpected unplugAmeer2020-07-011-0/+1
|
* padbutton enum class and struct initiailizationAmeer2020-06-241-15/+15
|
* cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic numberAmeer2020-06-231-1/+7
|
* Fix deallocation of GC AdapterAmeer2020-06-231-1/+0
|
* std::array and const reference passing of non-trivial objectsAmeer2020-06-231-3/+3
|
* shared_ptr for the GC adapter class, constexpr constantsAmeer2020-06-221-24/+16
|
* std::arrays where appropriate, clear q in adapter class, other touch upsAmeer2020-06-221-2/+3
|
* fix include threadAmeer2020-06-221-0/+1
|
* Singleton GC Adapter class, remove globals, fix naming conventionAmeer2020-06-221-48/+97
| | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
* Clang FormattingAmeer2020-06-211-9/+7
|
* GC Adapter ImplementationAmeer2020-06-211-0/+116