Package gaiasky.util

Class GlobalConf.ControlsConf

    • Field Detail

      • CONTROLLER_MAPPINGS_FILE

        public java.lang.String CONTROLLER_MAPPINGS_FILE
      • INVERT_LOOK_X_AXIS

        public boolean INVERT_LOOK_X_AXIS
      • INVERT_LOOK_Y_AXIS

        public boolean INVERT_LOOK_Y_AXIS
      • DEBUG_MODE

        public boolean DEBUG_MODE
      • CONTROLLER_BLACKLIST

        public java.lang.String[] CONTROLLER_BLACKLIST
        Controller name blacklist. Check out names in the preferences window.
    • Constructor Detail

      • ControlsConf

        public ControlsConf()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String cONTROLLER_MAPPINGS_FILE,
                               boolean iNVERT_LOOK_X_AXIS,
                               boolean iNVERT_LOOK_Y_AXIS,
                               boolean dEBUG_MODE,
                               java.lang.String[] cONTROLLER_BLACKLIST)
      • isControllerBlacklisted

        public boolean isControllerBlacklisted​(java.lang.String controllerName)
      • addControllerListener

        public void addControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener)
      • addControllerListener

        public void addControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener,
                                          java.lang.String controllerName)
      • removeControllerListener

        public void removeControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener)
      • removeAllControllerListeners

        public void removeAllControllerListeners()