summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gc_adapter: Remove deprecated usage of = in lambda capturesLioncash2020-07-121-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 warningsLioncash2020-07-122-7/+7
|
* Merge pull request #4266 from jbeich/freebsdbunnei2020-07-081-0/+1
|\ | | | | gcadapter: unbreak build on FreeBSD
| * input_common/gcadapter: add missing C++11 header required by libc++Jan Beich2020-07-071-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 countAmeer2020-07-081-11/+15
| |
* | Add more libusb error checksAmeer2020-07-081-3/+18
|/
* Fix for always firing triggers on some controllers, trigger threshold more universalAmeer2020-07-042-5/+5
|
* Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch upsAmeer2020-07-033-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 readabilityAmeer2020-07-022-10/+34
|
* Reset adapter state on init, fixes errors relating driver hang from unexpected unplugAmeer2020-07-012-0/+9
|
* Address feedback regarding increments, const vars, and general cleanupAmeer2020-06-302-24/+21
|
* fix implicit conversion of size_t type to intAmeer2020-06-301-1/+1
|
* left const auto&, comment punctuation.Ameer J2020-06-271-2/+2
| | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* const& to button in button arrayAmeer J2020-06-261-2/+2
| | | Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com>
* Stop reading loop if error is encounteredAmeer2020-06-261-4/+4
|
* padbutton enum class and struct initiailizationAmeer2020-06-243-36/+32
|
* cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic numberAmeer2020-06-233-150/+101
|
* Fix deallocation of GC AdapterAmeer2020-06-232-4/+7
|
* std::array and const reference passing of non-trivial objectsAmeer2020-06-232-14/+13
|
* Tidy up the pointers, use pair over tuple where appropriateAmeer2020-06-222-21/+21
|
* fix for sleep using stlAmeer2020-06-221-1/+3
|
* shared_ptr for the GC adapter class, constexpr constantsAmeer2020-06-224-64/+48
|
* std::arrays where appropriate, clear q in adapter class, other touch upsAmeer2020-06-224-26/+15
|
* fix include threadAmeer2020-06-221-0/+1
|
* Singleton GC Adapter class, remove globals, fix naming conventionAmeer2020-06-224-197/+252
| | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
* Clang FormattingAmeer2020-06-214-71/+96
|
* GC Adapter ImplementationAmeer2020-06-214-0/+835