aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_adapter.h
AgeCommit message (Collapse)Author
2020-10-28Add hotplug, rumble and fix 3rd party adapters for the GC adaptergerman
2020-10-15input_common/CMakeLists: Make some warnings errorsLioncash
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-18Add automap feature for GC adaptergerman
2020-09-07gc_adapter: Make DeviceConnected() a const member functionLioncash
This doesn't modify instance state, so it can be made const.
2020-07-19Fix axis thresholding while pollingameerj
axes were very sensitive when mapping controls.
2020-07-16Refactor adapter codeAmeer
2020-07-14Rebase to masterAmeer
2020-07-14Fix crash if gc configured but adapter not connectedAmeer
2020-07-14Merge pull request #4314 from lioncash/input-warnbunnei
gcadapter: Tidy up compiler warnings
2020-07-13input_common: make libusb private to gc_adapterJan Beich
2020-07-12gc_adapter: Silence sign conversion warningsLioncash
2020-07-08Rebase to master, fix merge conflictsAmeer
2020-07-07Address PR feedback, fix axis button thresholdingAmeer
2020-07-07input_common/gcadapter: add missing C++11 header required by libc++Jan Beich
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-06Save origin state of GC controller analog features, compare against origin ↵Ameer
for input detection
2020-07-04Fix for always firing triggers on some controllers, trigger threshold more ↵Ameer
universal
2020-07-03Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Ameer
little touch ups
2020-07-01Reset adapter state on init, fixes errors relating driver hang from ↵Ameer
unexpected unplug
2020-06-24padbutton enum class and struct initiailizationAmeer
2020-06-23cleanup check access, read, and factory GetNextInput funcs. Use size rather ↵Ameer
than magic number
2020-06-23Fix deallocation of GC AdapterAmeer
2020-06-22std::array and const reference passing of non-trivial objectsAmeer
2020-06-21shared_ptr for the GC adapter class, constexpr constantsAmeer
2020-06-21std::arrays where appropriate, clear q in adapter class, other touch upsAmeer
2020-06-21fix include threadAmeer
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionAmeer
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingAmeer
2020-06-21GC Adapter ImplementationAmeer