summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* General: Tidy up clang-format warnings part 2Gravatar Lioncash2020-08-131-4/+2
|
* Remove UI changesGravatar ameerj2020-08-102-2/+2
| | | | This PR is now only the Analog devices handling the range value defaulting at 100%
* Add range slider functionality for gc adapterGravatar ameerj2020-08-101-7/+7
|
* undo unnecessary newlines, slider range 50-150Gravatar Ameer2020-08-101-1/+1
|
* Add range slider for analog sticksGravatar Ameer2020-08-101-11/+14
|
* GCAdapter: only join worker thread if running & joinableGravatar Brian J. Tarricone2020-07-261-1/+3
|
* Merge pull request #4418 from lioncash/udp-warnGravatar bunnei2020-07-251-1/+0
|\ | | | | udp/client: Remove unused boost include
| * udp/client: Remove unused boost includeGravatar Lioncash2020-07-251-1/+0
| | | | | | | | Also silences a deprecation warning from boost on Clang/GCC.
* | gc_adapter: Resolve C++20 deprecation warningGravatar Lioncash2020-07-251-1/+1
| |
* | gc_poller: Resolve -Wsign-compare warningGravatar Lioncash2020-07-251-1/+2
| |
* | gc_poller: Resolve -Wredundant-move warningGravatar Lioncash2020-07-251-2/+1
|/
* Fix axis thresholding while pollingGravatar ameerj2020-07-191-5/+2
| | | | axes were very sensitive when mapping controls.
* std::size_t where appropriate, make error message more clear if can't readGravatar ameerj2020-07-171-3/+4
|
* Refactor adapter codeGravatar Ameer2020-07-162-179/+44
|
* Rebase to masterGravatar Ameer2020-07-147-31/+48
|\
| * Fix crash if gc configured but adapter not connectedGravatar Ameer2020-07-142-15/+25
| |
| * Merge pull request #4314 from lioncash/input-warnGravatar bunnei2020-07-144-11/+15
| |\ | | | | | | gcadapter: Tidy up compiler warnings
| | * gc_poller: Mark GCButtonFactory::GetNextInput() as constGravatar Lioncash2020-07-122-2/+2
| | | | | | | | | | | | This doesn't modify class instance state.
| | * gc_poller: Get rid of undefined behavior in Create()Gravatar Lioncash2020-07-121-0/+4
| | | | | | | | | | | | Ensures that the function always has returns in all control paths.
| | * gc_poller: Silence sign conversion warningsGravatar Lioncash2020-07-121-1/+1
| | |
| | * gc_adapter: Remove deprecated usage of = in lambda capturesGravatar Lioncash2020-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 warningsGravatar Lioncash2020-07-122-7/+7
| | |
| * | Merge pull request #4315 from lioncash/udp-warnGravatar bunnei2020-07-141-1/+1
| |\ \ | | | | | | | | udp: Silence a C++20 deprecation warning
| | * | udp: Silence a C++20 deprecation warningGravatar Lioncash2020-07-121-1/+1
| | |/ | | | | | | | | | | | | C++20 deprecates using the = lambda capture to implicitly capture the this pointer. Instead, we must specify it explicitly.
| * | input_common: drop unused libusb.h includeGravatar Ameer2020-07-141-1/+0
| | | | | | | | | | | | Remnant of an early implementation.
| * | input_common: make libusb private to gc_adapterGravatar Jan Beich2020-07-133-3/+7
| | |
| * | cmake: pass libusb include directory as wellGravatar Jan Beich2020-07-091-0/+1
| |/ | | | | | | | | | | | | In file included from src/input_common/gcadapter/gc_adapter.cpp:8: src/./input_common/gcadapter/gc_adapter.h:11:10: fatal error: 'libusb.h' file not found #include <libusb.h> ^~~~~~~~~~
* | Break out of scan loop if can't find adapter on first runGravatar Ameer2020-07-101-0/+3
| |
* | Rebase to master, fix merge conflictsGravatar Ameer2020-07-082-10/+30
|\|
| * Merge pull request #4266 from jbeich/freebsdGravatar bunnei2020-07-081-0/+1
| |\ | | | | | | gcadapter: unbreak build on FreeBSD
| | * input_common/gcadapter: add missing C++11 header required by libc++Gravatar 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 countGravatar Ameer2020-07-081-11/+15
| | |
| * | Add more libusb error checksGravatar Ameer2020-07-081-3/+18
| |/
* | Address PR feedback, fix axis button thresholdingGravatar Ameer2020-07-073-58/+22
| |
* | Brace the code! Fix compile error due to class member construction orderGravatar Ameer2020-07-062-15/+31
| |
* | Recalibrate reconnected controllersGravatar Ameer2020-07-061-0/+5
| |
* | Save origin state of GC controller analog features, compare against origin ↵Gravatar Ameer2020-07-063-28/+72
|/ | | | for input detection
* Fix for always firing triggers on some controllers, trigger threshold more ↵Gravatar Ameer2020-07-042-5/+5
| | | | universal
* Address lioncash feedback: Log formatting, extern const PadButtonArray, ↵Gravatar Ameer2020-07-033-24/+32
| | | | little touch ups
* Fix unnecessary diffsGravatar Ameer2020-07-023-3/+3
|
* Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Gravatar Ameer2020-07-022-10/+34
| | | | config, clarify some code blocks for better readability
* Reset adapter state on init, fixes errors relating driver hang from ↵Gravatar Ameer2020-07-012-0/+9
| | | | unexpected unplug
* Address feedback regarding increments, const vars, and general cleanupGravatar Ameer2020-06-302-24/+21
|
* fix implicit conversion of size_t type to intGravatar Ameer2020-06-301-1/+1
|
* left const auto&, comment punctuation.Gravatar Ameer J2020-06-261-2/+2
| | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
* const& to button in button arrayGravatar Ameer J2020-06-251-2/+2
| | | Co-authored-by: VolcaEM <63682805+VolcaEM@users.noreply.github.com>
* Stop reading loop if error is encounteredGravatar Ameer2020-06-251-4/+4
|
* padbutton enum class and struct initiailizationGravatar Ameer2020-06-243-36/+32
|
* cleanup check access, read, and factory GetNextInput funcs. Use size rather ↵Gravatar Ameer2020-06-234-151/+101
| | | | than magic number
* Fix deallocation of GC AdapterGravatar Ameer2020-06-233-4/+10
|