243 Commits (4738e14cb052a44c53e47379e595f00cef034dca)

Author SHA1 Message Date
Ameer ab65de2f96 Fix crash if gc configured but adapter not connected 6 years ago
Ameer b284c43385 input_common: drop unused libusb.h include 6 years ago
Jan Beich 883fab2fff input_common: make libusb private to gc_adapter 6 years ago
Lioncash 8df93132cd udp: Silence a C++20 deprecation warning 6 years ago
Lioncash a1dddca4ab gc_poller: Mark GCButtonFactory::GetNextInput() as const 6 years ago
Lioncash 839c91cd14 gc_poller: Get rid of undefined behavior in Create() 6 years ago
Lioncash a8ba6dc3c9 gc_poller: Silence sign conversion warnings 6 years ago
Lioncash 32b6fc4062 gc_adapter: Remove deprecated usage of = in lambda captures 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
Jan Beich 48ff15602e cmake: pass libusb include directory as well 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
Jan Beich 1db10b8f4c input_common/gcadapter: add missing C++11 header required by libc++ 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 6e1639c7b0 Fix unnecessary diffs 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. 6 years ago
Ameer J ecbc813711
const& to button in button array 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
ameerj f5d2a1e8bd Update src/input_common/main.cpp 6 years ago
Ameer 28046ae3a9 Tidy up the pointers, use pair over tuple where appropriate 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 5f0fa4cb82 fix include thread 6 years ago
Ameer 121af3646d Singleton GC Adapter class, remove globals, fix naming convention 6 years ago
Ameer c94583d867 Clang Formatting 6 years ago
Ameer 0076a08d04 Cleanup after linter 6 years ago
Ameer 0248614add GC Adapter Implementation 6 years ago
MerryMage c6a963c48e input_common/motion_emu: Remove redundant move 6 years ago
MerryMage 8272f53cf9 input_common/keyboard: Remove redundant move 6 years ago
FearlessTobi 3d1e741645 input_common: fix build when SDL2 is disabled 6 years ago
Markus Wick 94c2c828a5 input_common: Use the CMake target instead of the variable. 6 years ago
Lioncash 1c340c6efa CMakeLists: Specify -Wextra on linux builds 6 years ago
ReinUsesLisp 716d6aee30 input_common/udp: Fix clang build issues 6 years ago
FearlessTobi 230ac6a4e8 input_common/udp: Fix Linux build by using a backwards compatible way of error checking 6 years ago
James Rowe 002d9508a0 input/udp - Add minor error handling to prevent bad input from crashing 6 years ago