summaryrefslogtreecommitdiffstats
path: root/src/input_common/udp/client.cpp (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-311-75/+72
|
* inputCommon: Use an unique client id for each socket instancegerman2021-03-011-10/+16
|
* udp/client: Define ClientData constructor/destructor in cpp fileLioncash2021-02-091-0/+4
| | | | | 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-151-11/+8
|
* Allow to return up to 16 touch inputs per enginegerman2021-01-151-43/+78
|
* udp client: process packets only for the correct padgal202020-12-271-0/+5
|
* Add multiple udp server supportgerman2020-11-261-49/+94
|
* input_common: Add more missing [[maybe_unused]] from #4927.bunnei2020-11-241-2/+2
|
* input_common: Treat warnings as errorsLioncash2020-11-221-3/+3
| | | | | 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-161-3/+3
| | | | Avoids redundant copies.
* input_common/CMakeLists: Make some warnings errorsLioncash2020-10-161-29/+36
| | | | | 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-051-38/+149
|
* Remove RealMotionDevicegerman2020-09-051-1/+9
|
* 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.
* 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/udp - Add minor error handling to prevent bad input from crashingJames Rowe2020-03-041-4/+13
|
* 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.
* Address second part of review commentsFearlessTobi2020-01-231-5/+9
|
* Address review commentsFearlessTobi2020-01-231-12/+12
|
* Input: UDP Client to provide motion and touch controlsfearlessTobi2020-01-231-0/+283
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>