INNER CODE UNIT · C++
error
Chaoses-Ib/IbInputSimulator · Simulator/source/dllmain.cpp:111
Error error = type->create(&SendInputHook::SendInput_real);
if (error != Error::Success)
return error;
main::send = std::move(type);
}
break;
case SendType::Logitech:
{
auto type = std::make_unique<Type::Logitech>();
type->create_base(&SendInputHook::GetAsyncKeyState_real);
Error error = type->create();
if (error != Error::Success)
return error;
main::send = std::move(type);
}
break;
case SendType::LogitechGHubNew:
{