GVRBaseController getCursorController(GVRContext context) { Log.d(TAG, "Creating Mouse Device"); if (threadStarted == false) { Log.d(TAG, "Starting " + THREAD_NAME); thread.start(); thread.prepareHandler(); threadStarted = true; } GVRMouseController controller = new GVRMouseController(context, GVRCursorType.MOUSE, thread); int id = controller.getId(); controllers.append(id, controller); return controller; }