Package gaiasky.util

Class GlobalConf.ControlsConf

java.lang.Object
gaiasky.util.GlobalConf.ControlsConf
All Implemented Interfaces:
GlobalConf.IConf
Enclosing class:
GlobalConf

public static class GlobalConf.ControlsConf
extends java.lang.Object
implements GlobalConf.IConf
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String[] CONTROLLER_BLACKLIST
    Controller name blacklist.
    java.lang.String CONTROLLER_MAPPINGS_FILE  
    boolean INVERT_LOOK_X_AXIS  
    boolean INVERT_LOOK_Y_AXIS  
  • Constructor Summary

    Constructors
    Constructor Description
    ControlsConf()  
  • Method Summary

    Modifier and Type Method Description
    void addControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener)  
    void addControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener, java.lang.String controllerName)  
    void initialize​(java.lang.String cONTROLLER_MAPPINGS_FILE, boolean iNVERT_LOOK_X_AXIS, boolean iNVERT_LOOK_Y_AXIS, java.lang.String[] cONTROLLER_BLACKLIST)  
    boolean isControllerBlacklisted​(java.lang.String controllerName)  
    void removeAllControllerListeners()  
    void removeControllerListener​(com.badlogic.gdx.controllers.ControllerListener listener)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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
    • CONTROLLER_BLACKLIST

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

    • ControlsConf

      public ControlsConf()
  • Method Details

    • initialize

      public void initialize​(java.lang.String cONTROLLER_MAPPINGS_FILE, boolean iNVERT_LOOK_X_AXIS, boolean iNVERT_LOOK_Y_AXIS, 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()