public void addControllerType ( GVRControllerType controllerType ) { if ( cursorControllerTypes == null ) { cursorControllerTypes = new ArrayList < GVRControllerType > ( ) ; } else if ( cursorControllerTypes . contains ( controllerType ) ) { return ; } cursorControllerTypes . add ( controllerType ) ; }
Enable the use of the given controller type by adding it to the cursor controller types list .