Change to MotionDevice

This commit is contained in:
german
2020-09-03 11:17:05 -05:00
parent 1651506a8e
commit 40416d9ec8

View File

@@ -43,7 +43,7 @@ struct InputSubsystem::Impl {
udp = std::make_shared<InputCommon::CemuhookUDP::Client>();
udpmotion = std::make_shared<UDPMotionFactory>(udp);
Input::RegisterFactory<Input::RealMotionDevice>("cemuhookudp", udpmotion);
Input::RegisterFactory<Input::MotionDevice>("cemuhookudp", udpmotion);
udptouch = std::make_shared<UDPTouchFactory>(udp);
Input::RegisterFactory<Input::TouchDevice>("cemuhookudp", udptouch);
}
@@ -64,7 +64,7 @@ struct InputSubsystem::Impl {
gcbuttons.reset();
gcanalog.reset();
Input::UnregisterFactory<Input::RealMotionDevice>("cemuhookudp");
Input::UnregisterFactory<Input::MotionDevice>("cemuhookudp");
Input::UnregisterFactory<Input::TouchDevice>("cemuhookudp");
udpmotion.reset();