Lioncash
70b6d985e7
udp/client: Define ClientData constructor/destructor in cpp file
Prevents compilation errors on clang 12 due to incomplete types within a
unique_ptr member.
5 years ago
german
b92717bec6
Always initialize keyboard input
5 years ago
german
df1070a735
Add mutitouch support for touch screens
5 years ago
german
f452fbfc88
Allow to return up to 16 touch inputs per engine
5 years ago
gal20
2f5fb99b94
udp client: process packets only for the correct pad
5 years ago
german
6708e0ec0e
Add multiple udp server support
5 years ago
bunnei
2382020d8d
input_common: Add more missing [[maybe_unused]] from #4927 .
5 years ago
Lioncash
c8aec32f12
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
5 years ago
Morph
5eb160d4c6
udp/client: Reduce testing period to 5 seconds
5 years ago
Lioncash
c3c19060dd
udp/client: Make use of designated initializers in TestCommunication()
Same behavior, but makes the callback list nicer to look at.
5 years ago
Lioncash
3232d03657
udp/client: Take std::function by const reference with TestCommunication()
Avoids redundant copies.
5 years ago
Lioncash
d44d662529
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
Lukas Senionis
e237086658
Reduce the "shake" requirements when configuring UDP.
5 years ago
german
db47701464
Add random motion input to SDL
5 years ago
german
b26bc3864a
Minor cleanup
5 years ago
german
82eb4be33b
Add cemu hook changes related to PR #4609
5 years ago
german
17b48f8d42
Remove RealMotionDevice
5 years ago
Lioncash
78ddcbe3ba
General: Tidy up clang-format warnings part 2
5 years ago
Lioncash
5987e39f21
udp/client: Remove unused boost include
Also silences a deprecation warning from boost on Clang/GCC.
5 years ago
Lioncash
cb588c9ef1
udp: Silence a C++20 deprecation warning
C++20 deprecates using the = lambda capture to implicitly capture the
this pointer. Instead, we must specify it explicitly.
6 years ago
Ameer
eddf2d0f4e
Singleton GC Adapter class, remove globals, fix naming convention
Fix clang formatting
Manual fix for configure_input_player formatting
Add missing lib usb cmake command
6 years ago
Ameer
77ae7fe5dd
Clang Formatting
6 years ago
Ameer
243dbee81e
Cleanup after linter
6 years ago
Ameer
dbe1ad4fe4
GC Adapter Implementation
6 years ago
FearlessTobi
a38b732a6c
input_common/udp: Fix Linux build by using a backwards compatible way of 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.
6 years ago
James Rowe
37cf312477
input/udp - Add minor error handling to prevent bad input from crashing
6 years ago
Lioncash
02fbec1123
input_common/udp: std::move SocketCallback instances where applicable
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.
6 years ago
Lioncash
cf11ee1b0d
input_common/udp: std::move shared_ptr within Client constructor
Gets rid of a trivially avoidable atomic reference count increment and
decrement.
6 years ago
Lioncash
8e230f3e37
udp/client: Replace deprecated from_string() call with make_address_v4()
Future-proofs code if boost is ever updated.
6 years ago
Lioncash
e397a2145c
input_common/udp: Silence -Wreorder warning for Socket
Amends the constructor initializer list to specify the order of its
elements in the same order that initialization would occur.
6 years ago
FearlessTobi
e89cbc93dd
Address second part of review comments
6 years ago
FearlessTobi
af272d88d9
Address review comments
6 years ago
fearlessTobi
b2f53cceb6
Input: UDP Client to provide motion and touch controls
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>
6 years ago