Jan Beich
|
883fab2fff
|
input_common: make libusb private to gc_adapter
|
6 years ago |
Lioncash
|
32b6fc4062
|
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
|
9ce6ea648f
|
gc_adapter: Silence sign conversion warnings
|
6 years ago |
Ameer
|
042c6602a0
|
Break out of scan loop if can't find adapter on first run
|
6 years ago |
Ameer
|
3c7a115afe
|
Address comments for better clarity/signed dev count
|
6 years ago |
Ameer
|
ec13746e4d
|
Add more libusb error checks
|
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
|
86abff48e1
|
Recalibrate reconnected controllers
|
6 years ago |
Ameer
|
7ad423923d
|
Save origin state of GC controller analog features, compare against origin for input detection
|
6 years ago |
Ameer
|
d00972fce1
|
Fix for always firing triggers on some controllers, trigger threshold more universal
|
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
|
34a590e509
|
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
|
6 years ago |
Ameer
|
a76e11e7f0
|
Address feedback regarding increments, const vars, and general cleanup
|
6 years ago |
Ameer
|
dfdf87d844
|
fix implicit conversion of size_t type to int
|
6 years ago |
Ameer J
|
bd697bef03
|
left const auto&, comment punctuation.
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
6 years ago |
Ameer J
|
ecbc813711
|
const& to button in button array
Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com>
|
6 years ago |
Ameer
|
3f739514e3
|
Stop reading loop if error is encountered
|
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
|
d4e07fd95e
|
Fix deallocation of GC Adapter
|
6 years ago |
Ameer
|
fcc23139f6
|
std::array and const reference passing of non-trivial objects
|
6 years ago |
Ameer
|
0f729ef078
|
fix for sleep using stl
|
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 |