summaryrefslogtreecommitdiff
path: root/src/input_common/gcadapter/gc_poller.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-24input_common: Rewrite gc_adapterGravatar german771-356/+0
2021-02-06Make settings controller image change with controller inputGravatar german1-0/+10
2020-12-26Allow to invert analog axis with right clickGravatar german1-7/+21
2020-11-23input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].Gravatar bunnei1-2/+2
2020-11-23input_common: Add more missing [[maybe_unused]] from #4927.Gravatar bunnei1-1/+2
2020-11-22input_common: Treat warnings as errorsGravatar Lioncash1-1/+0
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-11-19Modify rumble amplificationGravatar german771-2/+2
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph1-10/+40
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-28Add hotplug, rumble and fix 3rd party adapters for the GC adapterGravatar german1-58/+70
2020-10-15input_common/CMakeLists: Make some warnings errorsGravatar Lioncash1-23/+25
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-07gc_adapter: Make DeviceConnected() a const member functionGravatar Lioncash1-7/+7
This doesn't modify instance state, so it can be made const.
2020-08-26input_common: Fix directional deadzone valuesGravatar Morph1-1/+1
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
2020-08-26Project Mjölnir: Part 1Gravatar Morph1-1/+1
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-25gc_poller: Resolve compilation warnings on MSVCGravatar Lioncash1-3/+5
We just need to make our intentional implicit truncations explicit.
2020-08-10Remove UI changesGravatar ameerj1-1/+1
This PR is now only the Analog devices handling the range value defaulting at 100%
2020-08-10Add range slider functionality for gc adapterGravatar ameerj1-7/+7
2020-07-25gc_poller: Resolve -Wsign-compare warningGravatar Lioncash1-1/+2
2020-07-25gc_poller: Resolve -Wredundant-move warningGravatar Lioncash1-2/+1
2020-07-14Fix crash if gc configured but adapter not connectedGravatar Ameer1-12/+22
2020-07-12gc_poller: Mark GCButtonFactory::GetNextInput() as constGravatar Lioncash1-1/+1
This doesn't modify class instance state.
2020-07-12gc_poller: Get rid of undefined behavior in Create()Gravatar Lioncash1-0/+4
Ensures that the function always has returns in all control paths.
2020-07-12gc_poller: Silence sign conversion warningsGravatar Lioncash1-1/+1
2020-07-07Address PR feedback, fix axis button thresholdingGravatar Ameer1-12/+3
2020-07-06Brace the code! Fix compile error due to class member construction orderGravatar Ameer1-3/+4
2020-07-06Save origin state of GC controller analog features, compare against origin ↵Gravatar Ameer1-4/+13
for input detection
2020-07-03Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Gravatar Ameer1-4/+5
little touch ups
2020-07-02Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Gravatar Ameer1-10/+22
config, clarify some code blocks for better readability
2020-06-30Address feedback regarding increments, const vars, and general cleanupGravatar Ameer1-10/+7
2020-06-24padbutton enum class and struct initiailizationGravatar Ameer1-3/+4
2020-06-23cleanup check access, read, and factory GetNextInput funcs. Use size rather ↵Gravatar Ameer1-56/+18
than magic number
2020-06-21Tidy up the pointers, use pair over tuple where appropriateGravatar Ameer1-19/+17
2020-06-21shared_ptr for the GC adapter class, constexpr constantsGravatar Ameer1-12/+12
2020-06-21std::arrays where appropriate, clear q in adapter class, other touch upsGravatar Ameer1-15/+1
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionGravatar Ameer1-60/+65
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingGravatar Ameer1-28/+28
2020-06-21GC Adapter ImplementationGravatar Ameer1-0/+310