bunnei
7fb7540d69
input_common: Add more missing [[maybe_unused]] from #4927 .
5 years ago
Lioncash
5c4774e8ce
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
5 years ago
german77
5b6545b141
Modify rumble amplification
5 years ago
Morph
e9e1876e82
input_common: Add VibrationDevice and VibrationDeviceFactory
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.
5 years ago
german
5333db91c1
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
5 years ago
Lioncash
046c0c91a3
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
Lioncash
c715fc4c5e
gc_adapter: Make DeviceConnected() a const member function
This doesn't modify instance state, so it can be made const.
5 years ago
Morph
de79897f04
input_common: Fix directional deadzone values
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
5 years ago
Morph
f0fac0c7fb
Project Mjölnir: Part 1
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
Lioncash
f60d5aac3e
gc_poller: Resolve compilation warnings on MSVC
We just need to make our intentional implicit truncations explicit.
5 years ago
ameerj
d6672501ac
Remove UI changes
This PR is now only the Analog devices handling the range value defaulting at 100%
5 years ago
ameerj
9c6ae697f5
Add range slider functionality for gc adapter
6 years ago
Lioncash
04699c366b
gc_poller: Resolve -Wsign-compare warning
6 years ago
Lioncash
e19972dfc4
gc_poller: Resolve -Wredundant-move warning
6 years ago
Ameer
ab65de2f96
Fix crash if gc configured but adapter not connected
6 years ago
Lioncash
a1dddca4ab
gc_poller: Mark GCButtonFactory::GetNextInput() as const
This doesn't modify class instance state.
6 years ago
Lioncash
839c91cd14
gc_poller: Get rid of undefined behavior in Create()
Ensures that the function always has returns in all control paths.
6 years ago
Lioncash
a8ba6dc3c9
gc_poller: Silence sign conversion warnings
6 years ago
Ameer
b57475887b
Address PR feedback, fix axis button thresholding
6 years ago
Ameer
e3253b5f18
Brace the code! Fix compile error due to class member construction order
6 years ago
Ameer
7ad423923d
Save origin state of GC controller analog features, compare against origin for input detection
6 years ago
Ameer
e69d715e3d
Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch ups
6 years ago
Ameer
6b7c8e469b
Add LR triggers as axes, half press to initiate a press, add GC axis id in config, clarify some code blocks for better readability
6 years ago
Ameer
a76e11e7f0
Address feedback regarding increments, const vars, and general cleanup
6 years ago
Ameer
c18dc9c707
padbutton enum class and struct initiailization
6 years ago
Ameer
743e1f02a0
cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic number
6 years ago
Ameer
28046ae3a9
Tidy up the pointers, use pair over tuple where appropriate
6 years ago
Ameer
46b4461fbb
shared_ptr for the GC adapter class, constexpr constants
6 years ago
Ameer
968d631aa5
std::arrays where appropriate, clear q in adapter class, other touch ups
6 years ago
Ameer
121af3646d
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
Ameer
c94583d867
Clang Formatting
6 years ago
Ameer
0248614add
GC Adapter Implementation
6 years ago