summaryrefslogtreecommitdiffstats
path: root/src/input_common/udp/client.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-28general: Make most settings a BasicSettinglat9nq1-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.
2021-05-13input_common: Sanitize motion datagerman771-0/+23
2021-04-15common: Move settings to common from core.bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2021-03-31Use a single connection for UDP server, make connection test longer and check all pads instead of only the first onegerman771-75/+72
2021-03-01inputCommon: Use an unique client id for each socket instancegerman1-10/+16
2021-02-09udp/client: Define ClientData constructor/destructor in cpp fileLioncash1-0/+4
Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
2021-01-15Always initialize keyboard inputgerman1-10/+8
2021-01-15Add mutitouch support for touch screensgerman1-11/+8
2021-01-15Allow to return up to 16 touch inputs per enginegerman1-43/+78
2020-12-27udp client: process packets only for the correct padgal201-0/+5
2020-11-26Add multiple udp server supportgerman1-49/+94
2020-11-24input_common: Add more missing [[maybe_unused]] from #4927.bunnei1-2/+2
2020-11-22input_common: Treat warnings as errorsLioncash1-3/+3
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-11-16udp/client: Reduce testing period to 5 secondsMorph1-1/+1
2020-10-16udp/client: Make use of designated initializers in TestCommunication()Lioncash1-2/+5
Same behavior, but makes the callback list nicer to look at.
2020-10-16udp/client: Take std::function by const reference with TestCommunication()Lioncash1-3/+3
Avoids redundant copies.
2020-10-16input_common/CMakeLists: Make some warnings errorsLioncash1-29/+36
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-30Reduce the "shake" requirements when configuring UDP.Lukas Senionis1-2/+6
2020-09-26Add random motion input to SDLgerman1-5/+3
2020-09-05Minor cleanupgerman1-19/+16
2020-09-05Add cemu hook changes related to PR #4609german1-38/+149
2020-09-05Remove RealMotionDevicegerman1-1/+9
2020-08-13General: Tidy up clang-format warnings part 2Lioncash1-4/+2
2020-07-25udp/client: Remove unused boost includeLioncash1-1/+0
Also silences a deprecation warning from boost on Clang/GCC.
2020-07-12udp: Silence a C++20 deprecation warningLioncash1-1/+1
C++20 deprecates using the = lambda capture to implicitly capture the this pointer. Instead, we must specify it explicitly.
2020-06-22Singleton GC Adapter class, remove globals, fix naming conventionAmeer1-2/+4
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingAmeer1-4/+2
2020-06-21Cleanup after linterAmeer1-77/+63
2020-06-21GC Adapter ImplementationAmeer1-63/+77
2020-03-17input_common/udp: Fix Linux build by using a backwards compatible way of error checkingFearlessTobi1-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.
2020-03-04input/udp - Add minor error handling to prevent bad input from crashingJames Rowe1-4/+13
2020-02-03input_common/udp: std::move SocketCallback instances where applicableLioncash1-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.
2020-02-03input_common/udp: std::move shared_ptr within Client constructorLioncash1-1/+1
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()Lioncash1-2/+2
Future-proofs code if boost is ever updated.
2020-02-03input_common/udp: Silence -Wreorder warning for SocketLioncash1-4/+3
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 commentsFearlessTobi1-5/+9
2020-01-23Address review commentsFearlessTobi1-12/+12
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi1-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>