From 8108b4d7b55d38d9cc1210c7f10824ba63f26769 Mon Sep 17 00:00:00 2001 From: joemarshall Date: Mon, 1 Oct 2018 10:11:40 +0100 Subject: [PATCH] Support new IVRDriverInput_002 interface The interface doesn't differ from IVRDriverInput_001 except in terms of skeletal tracking which isn't supported by the emulator anyway --- driver_vrinputemulator/src/hooks/common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver_vrinputemulator/src/hooks/common.cpp b/driver_vrinputemulator/src/hooks/common.cpp index 0f8821e3..b2c32cef 100644 --- a/driver_vrinputemulator/src/hooks/common.cpp +++ b/driver_vrinputemulator/src/hooks/common.cpp @@ -27,6 +27,8 @@ std::shared_ptr InterfaceHooks::hookInterface(void* interfaceRef retval = IVRServerDriverHost005Hooks::createHooks(interfaceRef); } else if (interfaceVersion.compare("IVRDriverInput_001") == 0) { retval = IVRDriverInput001Hooks::createHooks(interfaceRef); + } else if (interfaceVersion.compare("IVRDriverInput_002") == 0) { + retval = IVRDriverInput001Hooks::createHooks(interfaceRef); } else if (interfaceVersion.compare("ITrackedDeviceServerDriver_005") == 0) { retval = ITrackedDeviceServerDriver005Hooks::createHooks(interfaceRef); } else if (interfaceVersion.compare("IVRControllerComponent_001") == 0) {