summaryrefslogtreecommitdiffstats
path: root/src/input_common/udp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Make most settings a BasicSettinglat9nq2021-06-281-2/+2
| | | | | | | | | | | Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
* input_common: Sanitize motion datagerman772021-05-131-0/+23
|
* common: Move settings to common from core.bunnei2021-04-151-1/+1
| | | | - Removes a dependency on core and input_common from common.
* Use a single connection for UDP server, make connection test longer and check all pads instead of only the first onegerman772021-03-312-95/+96
|
* inputCommon: Use an unique client id for each socket instancegerman2021-03-012-13/+19
|
* udp: Silence unused member variable warningsLioncash2021-02-091-2/+2
| | | | Simply mark them as unused for now.
* udp/client: Define ClientData constructor/destructor in cpp fileLioncash2021-02-092-0/+7
| | | | | Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
* Always initialize keyboard inputgerman2021-01-151-10/+8
|
* Add mutitouch support for touch screensgerman2021-01-152-15/+12
|
* Allow to return up to 16 touch inputs per enginegerman2021-01-154-85/+108
|
* general: Fix various spelling errorsMorph2021-01-021-4/+4
|
* udp client: process packets only for the correct padgal202020-12-271-0/+5
|
* Add multiple udp server supportgerman2020-11-263-99/+148
|
* input_common: Add more missing [[maybe_unused]] from #4927.bunnei2020-11-241-2/+2
|
* input_common: Treat warnings as errorsLioncash2020-11-222-4/+13
| | | | | Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
* udp/client: Reduce testing period to 5 secondsMorph2020-11-161-1/+1
|
* udp/client: Make use of designated initializers in TestCommunication()Lioncash2020-10-161-2/+5
| | | | Same behavior, but makes the callback list nicer to look at.
* udp/client: Take std::function by const reference with TestCommunication()Lioncash2020-10-162-5/+5
| | | | Avoids redundant copies.
* input_common/CMakeLists: Make some warnings errorsLioncash2020-10-163-51/+56
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Merge pull request #4677 from german77/ShakeFromButtonbunnei2020-10-081-5/+3
|\ | | | | InputCommon: Add random motion input for buttons
| * Add random motion input to SDLgerman2020-09-261-5/+3
| |
* | Reduce the "shake" requirements when configuring UDP.Lukas Senionis2020-09-301-2/+6
|/
* Minor cleanupgerman2020-09-051-19/+16
|
* Add cemu hook changes related to PR #4609german2020-09-054-134/+369
|
* Remove RealMotionDevicegerman2020-09-053-3/+12
|
* Address feedbackMorph2020-08-262-4/+3
|
* Project Mjölnir: Part 1Morph2020-08-262-4/+18
| | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
* General: Tidy up clang-format warnings part 2Lioncash2020-08-131-4/+2
|
* udp/client: Remove unused boost includeLioncash2020-07-251-1/+0
| | | | Also silences a deprecation warning from boost on Clang/GCC.
* udp: Silence a C++20 deprecation warningLioncash2020-07-121-1/+1
| | | | | C++20 deprecates using the = lambda capture to implicitly capture the this pointer. Instead, we must specify it explicitly.
* Merge pull request #3525 from FearlessTobi/linux-compile-errorbunnei2020-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 error checkingFearlessTobi2020-03-171-1/+1
| | | | | | | | | | | | | | 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 issuesReinUsesLisp2020-03-181-1/+2
|/
* input/udp - Add minor error handling to prevent bad input from crashingJames Rowe2020-03-041-4/+13
|
* input/udp - Dont log on invalid packet receivedJames Rowe2020-03-041-1/+0
|
* input_common/udp: Add missing override specifiersLioncash2020-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 applicableLioncash2020-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 constructorLioncash2020-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()Lioncash2020-02-031-2/+2
| | | | Future-proofs code if boost is ever updated.
* input_common/udp: Silence -Wreorder warning for SocketLioncash2020-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 inclusionsLioncash2020-02-034-8/+4
|
* input_common/udp: Add missing header guardLioncash2020-02-031-0/+2
|
* Address second part of review commentsFearlessTobi2020-01-233-13/+17
|
* Address review commentsFearlessTobi2020-01-234-65/+72
|
* Input: UDP Client to provide motion and touch controlsfearlessTobi2020-01-236-0/+830
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>