code: def getLastPoseForTrackedDeviceIndex(self, unDeviceIndex):
          
  
          fn = self.function_table.getLastPoseForTrackedDeviceIndex
          pOutputPose = TrackedDevicePose_t()
          pOutputGamePose = TrackedDevicePose_t()
          result = fn(unDeviceIndex, byref(pOutputPose), byref(pOutputGamePose))
          return result, pOutputPose, pOutputGamePose
docs: Interface for accessing last set of poses returned by WaitGetPoses one at a time.
          Returns VRCompositorError_IndexOutOfRange if unDeviceIndex not less than k_unMaxTrackedDeviceCount otherwise VRCompositorError_None.
          It is okay to pass NULL for either pose if you only want one of the values.