summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/udp_client.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-11core: hid: Split SL and SR buttonsGravatar german771-3/+5
2023-10-15input_common: udp: Avoid crash when trying to map motion before client is readyGravatar german771-0/+1
2023-02-14remove static from pointer sized or smaller types for aesthetics, change ↵Gravatar arades791-1/+1
constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation ↵Gravatar arades791-1/+1
where possible Signed-off-by: arades79 <scravers@protonmail.com>
2022-07-27chore: make yuzu REUSE compliantGravatar Andrea Pappacoda1-3/+2
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-03-21input_common: Map sticks correctly when mapped sidewaysGravatar Narr the Reg1-0/+16
2022-02-06input_common: Remove battery duplicated struct and update every button pressGravatar german771-7/+7
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implGravatar Morph1-2/+2
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationGravatar Morph1-4/+4
2022-01-30input_common: Add home and hard touch press buttons to UDP controllersGravatar german771-2/+13
2022-01-24input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsGravatar Lioncash1-2/+2
These are deprecated and make_address variants and to_uint() should be used instead.
2022-01-24input_common/udp_client: Prevent unnecessary string copiesGravatar Lioncash1-2/+2
We can also remove some redundant const on the return values, since these don't do anything
2022-01-17input_common: Report battery for UDP controllersGravatar Narr the Reg1-0/+21
2022-01-07input_common: Fix udp motion not automapping to both sidesGravatar german771-8/+16
2021-12-17[input_common] Move variable declaration closer to usageGravatar vperus1-2/+2
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function.
2021-12-13input_engine: std::move engine name where applicableGravatar Lioncash1-1/+1
We can allow the name to be moved into, allowing allocations to be avoided.
2021-11-29Revert of b01aa72Gravatar vperus1-35/+39
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
2021-11-26input_common: Fully implement UDP controllersGravatar Narr the Reg1-8/+198
2021-11-24input_common: Fix UDP uuidGravatar german771-1/+9
2021-11-24kraken: Address comments from reviewGravatar german771-0/+2
review fixes
2021-11-24service/hid: Fix gesture inputGravatar german771-0/+27
2021-11-24input_common: Rewrite udp clientGravatar german771-202/+40
2021-11-24input_common: Move touch and analog from button. Move udp protocolGravatar german771-1/+1
2021-10-20input_common: Fix VS2022 compilation errorsGravatar ameerj1-39/+35
2021-06-28general: Make most settings a BasicSettingGravatar lat9nq1-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 dataGravatar german771-0/+23
2021-04-14common: Move settings to common from core.Gravatar bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2021-03-30Use a single connection for UDP server, make connection test longer and ↵Gravatar german771-75/+72
check all pads instead of only the first one
2021-03-01inputCommon: Use an unique client id for each socket instanceGravatar german1-10/+16
2021-02-09udp/client: Define ClientData constructor/destructor in cpp fileGravatar Lioncash1-0/+4
Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
2021-01-15Always initialize keyboard inputGravatar german1-10/+8
2021-01-15Add mutitouch support for touch screensGravatar german1-11/+8
2021-01-15Allow to return up to 16 touch inputs per engineGravatar german1-43/+78
2020-12-27udp client: process packets only for the correct padGravatar gal201-0/+5
2020-11-25Add multiple udp server supportGravatar german1-49/+94
2020-11-23input_common: Add more missing [[maybe_unused]] from #4927.Gravatar bunnei1-2/+2
2020-11-22input_common: Treat warnings as errorsGravatar Lioncash1-3/+3
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 secondsGravatar Morph1-1/+1
2020-10-16udp/client: Make use of designated initializers in TestCommunication()Gravatar 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()Gravatar Lioncash1-3/+3
Avoids redundant copies.
2020-10-15input_common/CMakeLists: Make some warnings errorsGravatar Lioncash1-29/+36
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-30Reduce the "shake" requirements when configuring UDP.Gravatar Lukas Senionis1-2/+6
2020-09-25Add random motion input to SDLGravatar german1-5/+3
2020-09-05Minor cleanupGravatar german1-19/+16
2020-09-04Add cemu hook changes related to PR #4609Gravatar german1-38/+149
2020-09-04Remove RealMotionDeviceGravatar german1-1/+9
2020-08-13General: Tidy up clang-format warnings part 2Gravatar Lioncash1-4/+2
2020-07-25udp/client: Remove unused boost includeGravatar Lioncash1-1/+0
Also silences a deprecation warning from boost on Clang/GCC.
2020-07-12udp: Silence a C++20 deprecation warningGravatar Lioncash1-1/+1
C++20 deprecates using the = lambda capture to implicitly capture the this pointer. Instead, we must specify it explicitly.
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionGravatar Ameer1-2/+4
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command