aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/udp/client.cpp
AgeCommit message (Collapse)Author
2021-11-24input_common: Rewrite udp clientgerman77
2021-11-24input_common: Move touch and analog from button. Move udp protocolgerman77
2021-10-20input_common: Fix VS2022 compilation errorsameerj
2021-06-28general: Make most settings a BasicSettinglat9nq
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.
2021-05-13input_common: Sanitize motion datagerman77
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-03-30Use a single connection for UDP server, make connection test longer and ↵german77
check all pads instead of only the first one
2021-03-01inputCommon: Use an unique client id for each socket instancegerman
2021-02-09udp/client: Define ClientData constructor/destructor in cpp fileLioncash
Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
2021-01-15Always initialize keyboard inputgerman
2021-01-15Add mutitouch support for touch screensgerman
2021-01-15Allow to return up to 16 touch inputs per enginegerman
2020-12-27udp client: process packets only for the correct padgal20
2020-11-25Add multiple udp server supportgerman
2020-11-23input_common: Add more missing [[maybe_unused]] from #4927.bunnei
2020-11-22input_common: Treat warnings as errorsLioncash
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-11-15udp/client: Reduce testing period to 5 secondsMorph
2020-10-16udp/client: Make use of designated initializers in TestCommunication()Lioncash
Same behavior, but makes the callback list nicer to look at.
2020-10-16udp/client: Take std::function by const reference with TestCommunication()Lioncash
Avoids redundant copies.
2020-10-15input_common/CMakeLists: Make some warnings errorsLioncash
Makes the input_common code warnings consistent with the rest of the codebase.
2020-10-08Merge pull request #4677 from german77/ShakeFromButtonbunnei
InputCommon: Add random motion input for buttons
2020-09-30Reduce the "shake" requirements when configuring UDP.Lukas Senionis
2020-09-25Add random motion input to SDLgerman
2020-09-05Minor cleanupgerman
2020-09-04Add cemu hook changes related to PR #4609german
2020-09-04Remove RealMotionDevicegerman
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-07-25udp/client: Remove unused boost includeLioncash
Also silences a deprecation warning from boost on Clang/GCC.
2020-07-12udp: Silence a C++20 deprecation warningLioncash
C++20 deprecates using the = lambda capture to implicitly capture the this pointer. Instead, we must specify it explicitly.
2020-03-17input_common/udp: Fix Linux build by using a backwards compatible way of ↵FearlessTobi
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.
2020-03-03input/udp - Add minor error handling to prevent bad input from crashingJames Rowe
2020-02-03input_common/udp: std::move SocketCallback instances where applicableLioncash
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.
2020-02-03input_common/udp: std::move shared_ptr within Client constructorLioncash
Gets rid of a trivially avoidable atomic reference count increment and decrement.
2020-02-03udp/client: Replace deprecated from_string() call with make_address_v4()Lioncash
Future-proofs code if boost is ever updated.
2020-02-03input_common/udp: Silence -Wreorder warning for SocketLioncash
Amends the constructor initializer list to specify the order of its elements in the same order that initialization would occur.
2020-01-23Address second part of review commentsFearlessTobi
2020-01-23Address review commentsFearlessTobi
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi
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>