summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* std::array and const reference passing of non-trivial objectsGravatar Ameer2020-06-222-14/+13
|
* Update src/input_common/main.cppGravatar ameerj2020-06-221-1/+1
| | | | | | Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed)
* Tidy up the pointers, use pair over tuple where appropriateGravatar Ameer2020-06-214-24/+22
|
* fix for sleep using stlGravatar Ameer2020-06-211-1/+3
|
* shared_ptr for the GC adapter class, constexpr constantsGravatar Ameer2020-06-215-66/+52
|
* std::arrays where appropriate, clear q in adapter class, other touch upsGravatar Ameer2020-06-215-27/+15
|
* fix include threadGravatar Ameer2020-06-211-0/+1
|
* Singleton GC Adapter class, remove globals, fix naming conventionGravatar Ameer2020-06-217-202/+259
| | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
* Clang FormattingGravatar Ameer2020-06-216-77/+99
|
* Cleanup after linterGravatar Ameer2020-06-219-167/+98
|
* GC Adapter ImplementationGravatar Ameer2020-06-2115-100/+1039
|
* input_common/motion_emu: Remove redundant moveGravatar MerryMage2020-06-191-1/+1
| | | | Named return value optimization automatically applies here.
* input_common/keyboard: Remove redundant moveGravatar MerryMage2020-06-191-1/+1
| | | | Named return value optimization automatically applies here.
* input_common: fix build when SDL2 is disabledGravatar FearlessTobi2020-05-021-0/+6
|
* Merge pull request #3673 from lioncash/extraGravatar bunnei2020-04-161-0/+1
|\ | | | | CMakeLists: Specify -Wextra on linux builds
| * CMakeLists: Specify -Wextra on linux buildsGravatar Lioncash2020-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
* | input_common: Use the CMake target instead of the variable.Gravatar Markus Wick2020-04-161-1/+1
|/
* Merge pull request #3525 from FearlessTobi/linux-compile-errorGravatar bunnei2020-03-211-1/+1
|\ | | | | input_common/udp: Fix Linux build by using a backwards compatible way of error checking
| * input_common/udp: Fix Linux build by using a backwards compatible way of ↵Gravatar FearlessTobi2020-03-171-1/+1
| | | | | | | | | | | | | | | | | | error checking Should fix https://github.com/yuzu-emu/yuzu/issues/3487. error_code::failed is a function which has been introduced in Boost 1.69. This version of boost hasn't landed in most major distros yet.
* | input_common/udp: Fix clang build issuesGravatar ReinUsesLisp2020-03-181-1/+2
|/
* input/udp - Add minor error handling to prevent bad input from crashingGravatar James Rowe2020-03-031-4/+13
|
* input/udp - Dont log on invalid packet receivedGravatar James Rowe2020-03-031-1/+0
|
* analog_from_button get direction implementationGravatar CJBok2020-02-181-0/+14
|
* input_common/udp: Ensure that UDP is shut down within Shutdown()Gravatar Lioncash2020-02-031-0/+1
| | | | Previously the UDP backend would never actually get shut down.
* input_common/udp: Add missing override specifiersGravatar Lioncash2020-02-031-2/+2
| | | | | Prevents trivial warnings and ensures interfaces are properly maintained between the base class.
* input_common/udp: std::move SocketCallback instances where applicableGravatar Lioncash2020-02-031-2/+2
| | | | | | std::function is allowed to heap allocate if the size of the captures associated with each lambda exceed a certain threshold. This prevents potentially unnecessary reallocations from occurring.
* input_common/udp: std::move shared_ptr within Client constructorGravatar Lioncash2020-02-031-1/+1
| | | | | Gets rid of a trivially avoidable atomic reference count increment and decrement.
* udp/client: Replace deprecated from_string() call with make_address_v4()Gravatar Lioncash2020-02-031-2/+2
| | | | Future-proofs code if boost is ever updated.
* input_common/udp: Silence -Wreorder warning for SocketGravatar Lioncash2020-02-031-4/+3
| | | | | Amends the constructor initializer list to specify the order of its elements in the same order that initialization would occur.
* input_common/udp: Remove unnecessary inclusionsGravatar Lioncash2020-02-034-8/+4
|
* input_common/udp: Add missing header guardGravatar Lioncash2020-02-031-0/+2
|
* Merge pull request #3284 from CJBok/hid-fixGravatar bunnei2020-02-011-0/+16
|\ | | | | hid: Fix analog sticks directional states
| * Moved analog direction logic to sdl_implGravatar CJBok2020-01-151-0/+16
| |
* | Address second part of review commentsGravatar FearlessTobi2020-01-233-13/+17
| |
* | Address review commentsGravatar FearlessTobi2020-01-234-65/+72
| |
* | Input: UDP Client to provide motion and touch controlsGravatar fearlessTobi2020-01-238-4/+846
|/ | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com>
* input_common/sdl/sdl_impl: Correct logging string in SDLState constructorGravatar Lioncash2019-06-031-1/+1
| | | | | | If this path was ever taken, a runtime exception would occur due to the lack of a formatting specifier to insert the error code into the format string.
* input_common/sdl/sdl_impl: Move documentation comments to header where ↵Gravatar Lioncash2019-06-032-7/+6
| | | | | | | applicable Places the documentation comments with the rest of SDLState's member function documentation.