code: public GVRCursorController findCursorController(GVRControllerType type) {
          for (int index = 0, size = cache.size(); index < size; index++)
          {
              int key = cache.keyAt(index);
              GVRCursorController controller = cache.get(key);
              if (controller.getControllerType().equals(type)) {
                  return controller;
              }
          }
          return null;
      }
docs: Get the first controller of a specified type
  @param type controller type to search for
  @return controller found or null if no controllers of the given type