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
DEBUG_MODE
boolean
INVERT_LOOK_X_AXIS
boolean
INVERT_LOOK_Y_AXIS
-
Constructor Summary
Constructors Constructor Description ControlsConf()
-
Method Summary
All Methods Instance Methods Concrete Methods 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, boolean dEBUG_MODE, java.lang.String[] cONTROLLER_BLACKLIST)
boolean
isControllerBlacklisted(java.lang.String controllerName)
void
removeAllControllerListeners()
void
removeControllerListener(com.badlogic.gdx.controllers.ControllerListener listener)
-
-
-
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.
-
-
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()
-
-