124 Commits (f35d0d8f8301018a447affe38289ca9bad516ece)

Author SHA1 Message Date
ameerj bb2375ec9d Fix axis thresholding while polling 6 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
Ameer 2b38468a0b Fix crash if gc configured but adapter not connected 6 years ago
Ameer a8deadbb2b input_common: drop unused libusb.h include 6 years ago
Jan Beich cfc73b4188 input_common: make libusb private to gc_adapter 6 years ago
Lioncash cb588c9ef1 udp: Silence a C++20 deprecation warning 6 years ago
Lioncash 7c05493952 gc_poller: Mark GCButtonFactory::GetNextInput() as const 6 years ago
Lioncash 340875a12f gc_poller: Get rid of undefined behavior in Create() 6 years ago
Lioncash ff47456e8b gc_poller: Silence sign conversion warnings 6 years ago
Lioncash 1fe8261049 gc_adapter: Remove deprecated usage of = in lambda captures 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
Jan Beich 64cab91fac cmake: pass libusb include directory as well 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
Jan Beich 9ea600e888 input_common/gcadapter: add missing C++11 header required by libc++ 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 33c08afba9 Fix unnecessary diffs 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
Ameer 0c6128cc3a Address feedback regarding increments, const vars, and general cleanup 6 years ago
Ameer ed72085227 fix implicit conversion of size_t type to int 6 years ago
Ameer J 21ae845d69 left const auto&, comment punctuation. 6 years ago
Ameer J eb06e3e8bf const& to button in button array 6 years ago
Ameer 677a07c253 Stop reading loop if error is encountered 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 ef0b52563d Fix deallocation of GC Adapter 6 years ago
Ameer f071a70fec std::array and const reference passing of non-trivial objects 6 years ago
ameerj 14bb562028 Update src/input_common/main.cpp 6 years ago
Ameer 5479427335 Tidy up the pointers, use pair over tuple where appropriate 6 years ago
Ameer a0f8f1dc5e fix for sleep using stl 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 5ebed7b1bb fix include thread 6 years ago
Ameer eddf2d0f4e Singleton GC Adapter class, remove globals, fix naming convention 6 years ago
Ameer 77ae7fe5dd Clang Formatting 6 years ago
Ameer 243dbee81e Cleanup after linter 6 years ago
Ameer dbe1ad4fe4 GC Adapter Implementation 6 years ago
MerryMage b26ff8fa86 input_common/motion_emu: Remove redundant move 6 years ago
MerryMage 38f25284c8 input_common/keyboard: Remove redundant move 6 years ago
FearlessTobi 358d645018 input_common: fix build when SDL2 is disabled 6 years ago
Markus Wick ea1146eba0 input_common: Use the CMake target instead of the variable. 6 years ago
Lioncash 02e095313a CMakeLists: Specify -Wextra on linux builds 6 years ago