def getControllerRoleForTrackedDeviceIndex(self, unDeviceIndex):
        """Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system."""

        fn = self.function_table.getControllerRoleForTrackedDeviceIndex
        result = fn(unDeviceIndex)
        return result