german
93ac87f29e
Make settings controller image change with controller input
5 years ago
german
139222d3a5
Allow to invert analog axis with right click
6 years ago
bunnei
f2bb584578
input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].
6 years ago
bunnei
2382020d8d
input_common: Add more missing [[maybe_unused]] from #4927 .
6 years ago
Lioncash
c8aec32f12
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
6 years ago
german77
3edd74463f
Modify rumble amplification
6 years ago
Morph
ad3905fe27
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.
6 years ago
german
2aafcc5f4b
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
6 years ago
Lioncash
d44d662529
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
6 years ago
Lioncash
14d5340a9d
gc_adapter: Make DeviceConnected() a const member function
This doesn't modify instance state, so it can be made const.
6 years ago
Morph
5e4f03f663
input_common: Fix directional deadzone values
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
6 years ago
Morph
34a209d15c
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
fa4a1718a7
gc_poller: Resolve compilation warnings on MSVC
We just need to make our intentional implicit truncations explicit.
6 years ago
ameerj
5d4750541b
Remove UI changes
This PR is now only the Analog devices handling the range value defaulting at 100%
6 years ago
ameerj
ac3cdc1741
Add range slider functionality for gc adapter
6 years ago
Lioncash
6efd1a2675
gc_poller: Resolve -Wsign-compare warning
6 years ago
Lioncash
e94ad47152
gc_poller: Resolve -Wredundant-move warning
6 years ago
Ameer
2b38468a0b
Fix crash if gc configured but adapter not connected
6 years ago
Lioncash
7c05493952
gc_poller: Mark GCButtonFactory::GetNextInput() as const
This doesn't modify class instance state.
6 years ago
Lioncash
340875a12f
gc_poller: Get rid of undefined behavior in Create()
Ensures that the function always has returns in all control paths.
6 years ago
Lioncash
ff47456e8b
gc_poller: Silence sign conversion warnings
6 years ago
Ameer
f1790c7b34
Address PR feedback, fix axis button thresholding
6 years ago
Ameer
3eeb56e064
Brace the code! Fix compile error due to class member construction order
6 years ago
Ameer
68a4bc8179
Save origin state of GC controller analog features, compare against origin for input detection
6 years ago
Ameer
670614dbf4
Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch ups
6 years ago
Ameer
12e679c39c
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
0c6128cc3a
Address feedback regarding increments, const vars, and general cleanup
6 years ago
Ameer
7c10c568da
padbutton enum class and struct initiailization
6 years ago
Ameer
39ca7c675c
cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic number
6 years ago
Ameer
5479427335
Tidy up the pointers, use pair over tuple where appropriate
6 years ago
Ameer
92a812d815
shared_ptr for the GC adapter class, constexpr constants
6 years ago
Ameer
4a54dc6bbf
std::arrays where appropriate, clear q in adapter class, other touch ups
6 years ago
Ameer
eddf2d0f4e
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
77ae7fe5dd
Clang Formatting
6 years ago
Ameer
dbe1ad4fe4
GC Adapter Implementation
6 years ago