summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter/gc_adapter.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-27input_common: Reset GC sticks center by measuring multiple packetsgerman771-0/+1
2021-01-02general: Fix various spelling errorsMorph1-3/+3
2020-11-16input_common: Add VibrationDevice and VibrationDeviceFactoryMorph1-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.
2020-10-29Add hotplug, rumble and fix 3rd party adapters for the GC adaptergerman1-56/+90
2020-10-16input_common/CMakeLists: Make some warnings errorsLioncash1-4/+2
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-18Add automap feature for GC adaptergerman1-0/+5
2020-09-07gc_adapter: Make DeviceConnected() a const member functionLioncash1-1/+1
This doesn't modify instance state, so it can be made const.
2020-07-19Fix axis thresholding while pollingameerj1-5/+2
axes were very sensitive when mapping controls.
2020-07-16Refactor adapter codeAmeer1-34/+5
2020-07-14Fix crash if gc configured but adapter not connectedAmeer1-3/+3
2020-07-13input_common: make libusb private to gc_adapterJan Beich1-1/+4
2020-07-12gc_adapter: Silence sign conversion warningsLioncash1-3/+3
2020-07-07Address PR feedback, fix axis button thresholdingAmeer1-2/+1
2020-07-07input_common/gcadapter: add missing C++11 header required by libc++Jan Beich1-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; ~~~~~^
2020-07-07Save origin state of GC controller analog features, compare against origin for input detectionAmeer1-6/+5
2020-07-04Fix for always firing triggers on some controllers, trigger threshold more universalAmeer1-1/+3
2020-07-03Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch upsAmeer1-6/+1
2020-07-01Reset adapter state on init, fixes errors relating driver hang from unexpected unplugAmeer1-0/+1
2020-06-24padbutton enum class and struct initiailizationAmeer1-15/+15
2020-06-23cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic numberAmeer1-1/+7
2020-06-23Fix deallocation of GC AdapterAmeer1-1/+0
2020-06-23std::array and const reference passing of non-trivial objectsAmeer1-3/+3
2020-06-22shared_ptr for the GC adapter class, constexpr constantsAmeer1-24/+16
2020-06-22std::arrays where appropriate, clear q in adapter class, other touch upsAmeer1-2/+3
2020-06-22fix include threadAmeer1-0/+1
2020-06-22Singleton GC Adapter class, remove globals, fix naming conventionAmeer1-48/+97
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingAmeer1-9/+7
2020-06-21GC Adapter ImplementationAmeer1-0/+116