Morph
8be6571a38
input_common: Make use of StoppableTimedWait
3 years ago
german77
5cbeb6f1c4
input_common: Use DriverResult on all engines
3 years ago
german77
96881efdc3
input_common: cache vibration tests
3 years ago
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
3 years ago
Morph
5ec38a7cb9
Revert "gc_adapter: fix libusb import on GCC11.2"
This reverts commit 6e1eea8897 .
4 years ago
Levi Behunin
6e1eea8897
gc_adapter: fix libusb import on GCC11.2
Just to silence an intermittent error.
GCC11.2 complains cannot find 'libusb.h' during a fresh build.
4 years ago
Andrea Pappacoda
b2eb103829
chore: add missing SPDX tags
Follow-up to 2b87305d31
4 years ago
Narr the Reg
f27e097244
input_common: Map sticks correctly when mapped sideways
4 years ago
Morph
e47b5e6a26
general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
4 years ago
Morph
51c445f7e8
input/hid: Migrate to the new UUID implementation
4 years ago
Lioncash
f41c22d30f
input_engine: Pass VibrationStatus by const reference in SetRumble()
Avoids creating copies of the struct where not necessary.
4 years ago
Lioncash
54e164d9de
input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be
avoided.
4 years ago
german77
b8b849dc2e
input_common: Move button names to the frontend
4 years ago
german77
30de38ee7f
kraken: Address comments from review
Fix compiler bug
4 years ago
german77
9f91335a71
kraken: Address comments from review
start lion review
4 years ago
german77
254d133be2
input_common: Fix GC adapter initialization
Fix GC controller
4 years ago
german77
8ea02d19a1
service/hid: Fix gesture input
4 years ago
german77
00f654cd22
core/hid: Only signal when needed
4 years ago
german77
0292fe0198
kraken: Fix errors from rebase and format files
4 years ago
german77
66cf94709a
core/hid: Add output devices
4 years ago
german77
78a8ed6290
input_common: Rewrite gc_adapter
4 years ago
Fernando S
0b63955efe
Revert "input_common: Fix data race on GC implementation"
4 years ago
Rodrigo Locatti
84bdc6969f
input_common: Fix data race on GC implementation
5 years ago
Morph
1917128312
input_common: Remove #pragma warning directives for external headers
5 years ago
german77
7d6d399f26
input_common: Reset GC sticks center by measuring multiple packets
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 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.
5 years ago
german
2aafcc5f4b
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
5 years ago
Lioncash
d44d662529
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
german
9f70da1a9b
Add automap feature for GC adapter
5 years ago
ReinUsesLisp
67dd8466b3
gc_adapter: Disable MSVC nonstandard extension warning on libusb.h
Pragma disable zero-sized array nonstandard extension warning on MSVC.
5 years ago
Lioncash
14d5340a9d
gc_adapter: Make DeviceConnected() a const member function
This doesn't modify instance state, so it can be made const.
5 years ago
Brian J. Tarricone
f637cfec64
GCAdapter: only join worker thread if running & joinable
5 years ago
Lioncash
bc2f95ea67
gc_adapter: Resolve C++20 deprecation warning
5 years ago
ameerj
45584cf459
std::size_t where appropriate, make error message more clear if can't read
6 years ago
Ameer
05174770cc
Refactor adapter code
6 years ago
Jan Beich
cfc73b4188
input_common: make libusb private to gc_adapter
6 years ago
Lioncash
1fe8261049
gc_adapter: Remove deprecated usage of = in lambda captures
It's deprecated in C++20 to use = to capture the this pointer.
Instead, we can simply pass this as an argument to the thread
constructor.
6 years ago
Lioncash
6b6d076f51
gc_adapter: Silence sign conversion warnings
6 years ago
Ameer
a885855ff4
Break out of scan loop if can't find adapter on first run
6 years ago
Ameer
6e2876d7da
Address comments for better clarity/signed dev count
6 years ago
Ameer
0e21c24052
Add more libusb error checks
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
9a989c4ff9
Recalibrate reconnected controllers
6 years ago
Ameer
68a4bc8179
Save origin state of GC controller analog features, compare against origin for input detection
6 years ago
Ameer
e081fb0718
Fix for always firing triggers on some controllers, trigger threshold more universal
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
34e6084c8d
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
6 years ago