Address review comments and fix code compilation

This commit is contained in:
FearlessTobi 2020-08-29 20:56:51 +02:00
parent 2903f0f7ce
commit 01dbe3a624
13 changed files with 218 additions and 155 deletions

View file

@ -175,9 +175,11 @@ const GCButtonFactory* InputSubsystem::GetGCButtons() const {
return impl->gcbuttons.get();
}
void ReloadInputDevices() {
if (udp)
udp->ReloadUDPClient();
void InputSubsystem::ReloadInputDevices() {
if (!impl->udp) {
return;
}
impl->udp->ReloadUDPClient();
}
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers(