Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add hotplug, rumble and fix 3rd party adapters for the GC adapter | german | 2020-10-29 | 3 | -303/+433 |
| | |||||
* | input_common/CMakeLists: Make some warnings errors | Lioncash | 2020-10-16 | 3 | -44/+45 |
| | | | | | Makes the input_common code warnings consistent with the rest of the codebase. | ||||
* | Add automap feature for GC adapter | german | 2020-09-18 | 2 | -0/+93 |
| | |||||
* | gc_adapter: Disable MSVC nonstandard extension warning on libusb.h | ReinUsesLisp | 2020-09-15 | 1 | -0/+9 |
| | | | | Pragma disable zero-sized array nonstandard extension warning on MSVC. | ||||
* | gc_adapter: Make DeviceConnected() a const member function | Lioncash | 2020-09-07 | 3 | -9/+9 |
| | | | | This doesn't modify instance state, so it can be made const. | ||||
* | Merge pull request #4583 from lioncash/trunc | bunnei | 2020-09-04 | 1 | -3/+5 |
|\ | | | | | gc_poller: Resolve compilation warnings on MSVC | ||||
| * | gc_poller: Resolve compilation warnings on MSVC | Lioncash | 2020-08-26 | 1 | -3/+5 |
| | | | | | | | | We just need to make our intentional implicit truncations explicit. | ||||
* | | input_common: Fix directional deadzone values | Morph | 2020-08-26 | 1 | -1/+1 |
| | | | | | | | | The hardware tested value is 0.5 which translates to SHRT_MAX / 2 | ||||
* | | Project Mjölnir: Part 1 | Morph | 2020-08-26 | 1 | -1/+1 |
|/ | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | Remove UI changes | ameerj | 2020-08-10 | 1 | -1/+1 |
| | | | | This PR is now only the Analog devices handling the range value defaulting at 100% | ||||
* | Add range slider functionality for gc adapter | ameerj | 2020-08-10 | 1 | -7/+7 |
| | |||||
* | GCAdapter: only join worker thread if running & joinable | Brian J. Tarricone | 2020-07-26 | 1 | -1/+3 |
| | |||||
* | gc_adapter: Resolve C++20 deprecation warning | Lioncash | 2020-07-25 | 1 | -1/+1 |
| | |||||
* | gc_poller: Resolve -Wsign-compare warning | Lioncash | 2020-07-25 | 1 | -1/+2 |
| | |||||
* | gc_poller: Resolve -Wredundant-move warning | Lioncash | 2020-07-25 | 1 | -2/+1 |
| | |||||
* | Fix axis thresholding while polling | ameerj | 2020-07-19 | 1 | -5/+2 |
| | | | | axes were very sensitive when mapping controls. | ||||
* | std::size_t where appropriate, make error message more clear if can't read | ameerj | 2020-07-17 | 1 | -3/+4 |
| | |||||
* | Refactor adapter code | Ameer | 2020-07-16 | 2 | -179/+44 |
| | |||||
* | Rebase to master | Ameer | 2020-07-14 | 4 | -28/+45 |
|\ | |||||
| * | Fix crash if gc configured but adapter not connected | Ameer | 2020-07-14 | 2 | -15/+25 |
| | | |||||
| * | Merge pull request #4314 from lioncash/input-warn | bunnei | 2020-07-14 | 4 | -11/+15 |
| |\ | | | | | | | gcadapter: Tidy up compiler warnings | ||||
| | * | gc_poller: Mark GCButtonFactory::GetNextInput() as const | Lioncash | 2020-07-12 | 2 | -2/+2 |
| | | | | | | | | | | | | This doesn't modify class instance state. | ||||
| | * | gc_poller: Get rid of undefined behavior in Create() | Lioncash | 2020-07-12 | 1 | -0/+4 |
| | | | | | | | | | | | | Ensures that the function always has returns in all control paths. | ||||
| | * | gc_poller: Silence sign conversion warnings | Lioncash | 2020-07-12 | 1 | -1/+1 |
| | | | |||||
| | * | gc_adapter: Remove deprecated usage of = in lambda captures | Lioncash | 2020-07-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | gc_adapter: Silence sign conversion warnings | Lioncash | 2020-07-12 | 2 | -7/+7 |
| | | | |||||
| * | | input_common: make libusb private to gc_adapter | Jan Beich | 2020-07-13 | 2 | -1/+5 |
| |/ | |||||
* | | Break out of scan loop if can't find adapter on first run | Ameer | 2020-07-10 | 1 | -0/+3 |
| | | |||||
* | | Rebase to master, fix merge conflicts | Ameer | 2020-07-09 | 2 | -10/+30 |
|\| | |||||
| * | Merge pull request #4266 from jbeich/freebsd | bunnei | 2020-07-08 | 1 | -0/+1 |
| |\ | | | | | | | gcadapter: unbreak build on FreeBSD | ||||
| | * | input_common/gcadapter: add missing C++11 header required by libc++ | Jan Beich | 2020-07-07 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/input_common/gcadapter/gc_adapter.cpp:8: src/./input_common/gcadapter/gc_adapter.h:77:10: error: no template named 'unordered_map' in namespace 'std' std::unordered_map<int, bool> buttons; ~~~~~^ src/./input_common/gcadapter/gc_adapter.h:78:10: error: no template named 'unordered_map' in namespace 'std' std::unordered_map<int, u16> axes; ~~~~~^ | ||||
| * | | Address comments for better clarity/signed dev count | Ameer | 2020-07-08 | 1 | -11/+15 |
| | | | |||||
| * | | Add more libusb error checks | Ameer | 2020-07-08 | 1 | -3/+18 |
| |/ | |||||
* | | Address PR feedback, fix axis button thresholding | Ameer | 2020-07-07 | 3 | -58/+22 |
| | | |||||
* | | Brace the code! Fix compile error due to class member construction order | Ameer | 2020-07-07 | 2 | -15/+31 |
| | | |||||
* | | Recalibrate reconnected controllers | Ameer | 2020-07-07 | 1 | -0/+5 |
| | | |||||
* | | Save origin state of GC controller analog features, compare against origin for input detection | Ameer | 2020-07-07 | 3 | -28/+72 |
|/ | |||||
* | Fix for always firing triggers on some controllers, trigger threshold more universal | Ameer | 2020-07-04 | 2 | -5/+5 |
| | |||||
* | Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch ups | Ameer | 2020-07-03 | 3 | -24/+32 |
| | |||||
* | Add LR triggers as axes, half press to initiate a press, add GC axis id in config, clarify some code blocks for better readability | Ameer | 2020-07-02 | 2 | -10/+34 |
| | |||||
* | Reset adapter state on init, fixes errors relating driver hang from unexpected unplug | Ameer | 2020-07-01 | 2 | -0/+9 |
| | |||||
* | Address feedback regarding increments, const vars, and general cleanup | Ameer | 2020-06-30 | 2 | -24/+21 |
| | |||||
* | fix implicit conversion of size_t type to int | Ameer | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | left const auto&, comment punctuation. | Ameer J | 2020-06-27 | 1 | -2/+2 |
| | | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> | ||||
* | const& to button in button array | Ameer J | 2020-06-26 | 1 | -2/+2 |
| | | | Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com> | ||||
* | Stop reading loop if error is encountered | Ameer | 2020-06-26 | 1 | -4/+4 |
| | |||||
* | padbutton enum class and struct initiailization | Ameer | 2020-06-24 | 3 | -36/+32 |
| | |||||
* | cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic number | Ameer | 2020-06-23 | 3 | -150/+101 |
| | |||||
* | Fix deallocation of GC Adapter | Ameer | 2020-06-23 | 2 | -4/+7 |
| | |||||
* | std::array and const reference passing of non-trivial objects | Ameer | 2020-06-23 | 2 | -14/+13 |
| | |||||
* | Tidy up the pointers, use pair over tuple where appropriate | Ameer | 2020-06-22 | 2 | -21/+21 |
| | |||||
* | fix for sleep using stl | Ameer | 2020-06-22 | 1 | -1/+3 |
| | |||||
* | shared_ptr for the GC adapter class, constexpr constants | Ameer | 2020-06-22 | 4 | -64/+48 |
| | |||||
* | std::arrays where appropriate, clear q in adapter class, other touch ups | Ameer | 2020-06-22 | 4 | -26/+15 |
| | |||||
* | fix include thread | Ameer | 2020-06-22 | 1 | -0/+1 |
| | |||||
* | Singleton GC Adapter class, remove globals, fix naming convention | Ameer | 2020-06-22 | 4 | -197/+252 |
| | | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command | ||||
* | Clang Formatting | Ameer | 2020-06-21 | 4 | -71/+96 |
| | |||||
* | GC Adapter Implementation | Ameer | 2020-06-21 | 4 | -0/+835 |