code: def getComponentState(self, pchRenderModelName, pchComponentName):
          
  
          fn = self.function_table.getComponentState
          pControllerState = VRControllerState_t()
          pState = RenderModel_ControllerMode_State_t()
          pComponentState = RenderModel_ComponentState_t()
          result = fn(pchRenderModelName, pchComponentName, byref(pControllerState), byref(pState), byref(pComponentState))
          return result, pControllerState, pState, pComponentState
docs: This version of GetComponentState takes a controller state block instead of an action origin. This function is deprecated. You should use the new input system and GetComponentStateForDevicePath instead.