aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_poller.cpp
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-07gc_adapter: Make DeviceConnected() a const member functionLioncash
This doesn't modify instance state, so it can be made const.
2020-09-03Merge pull request #4583 from lioncash/truncbunnei
gc_poller: Resolve compilation warnings on MSVC
2020-08-26input_common: Fix directional deadzone valuesMorph
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-25gc_poller: Resolve compilation warnings on MSVCLioncash
We just need to make our intentional implicit truncations explicit.
2020-08-10Remove UI changesameerj
This PR is now only the Analog devices handling the range value defaulting at 100%
2020-08-10Add range slider functionality for gc adapterameerj
2020-07-25gc_poller: Resolve -Wsign-compare warningLioncash
2020-07-25gc_poller: Resolve -Wredundant-move warningLioncash
2020-07-14Rebase to masterAmeer
2020-07-14Fix crash if gc configured but adapter not connectedAmeer
2020-07-12gc_poller: Mark GCButtonFactory::GetNextInput() as constLioncash
This doesn't modify class instance state.
2020-07-12gc_poller: Get rid of undefined behavior in Create()Lioncash
Ensures that the function always has returns in all control paths.
2020-07-12gc_poller: Silence sign conversion warningsLioncash
2020-07-07Address PR feedback, fix axis button thresholdingAmeer
2020-07-06Brace the code! Fix compile error due to class member construction orderAmeer
2020-07-06Save origin state of GC controller analog features, compare against origin ↵Ameer
for input detection
2020-07-03Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Ameer
little touch ups
2020-07-02Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Ameer
config, clarify some code blocks for better readability
2020-06-30Address feedback regarding increments, const vars, and general cleanupAmeer
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-21Tidy up the pointers, use pair over tuple where appropriateAmeer
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-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