James Rowe
002d9508a0
input/udp - Add minor error handling to prevent bad input from crashing
6 years ago
James Rowe
2cdda8c564
input/udp - Dont log on invalid packet received
6 years ago
Lioncash
83f8090273
input_common/udp: Add missing override specifiers
Prevents trivial warnings and ensures interfaces are properly
maintained between the base class.
6 years ago
Lioncash
5c61e0ba39
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
fb9c9ddcc9
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
9bb6ab77f4
udp/client: Replace deprecated from_string() call with make_address_v4()
Future-proofs code if boost is ever updated.
6 years ago
Lioncash
881408445a
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
Lioncash
36524465a6
input_common/udp: Remove unnecessary inclusions
6 years ago
Lioncash
4aa9c9632d
input_common/udp: Add missing header guard
6 years ago
FearlessTobi
bbd85a495a
Address second part of review comments
6 years ago
FearlessTobi
0fe11746fc
Address review comments
6 years ago
fearlessTobi
ac3690f205
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>
7 years ago