Package gaiasky.util
Class GlobalConf.ControlsConf
java.lang.Object
gaiasky.util.GlobalConf.ControlsConf
- All Implemented Interfaces:
GlobalConf.IConf
- Enclosing class:
- GlobalConf
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addControllerListener(com.badlogic.gdx.controllers.ControllerListener listener)
void
addControllerListener(com.badlogic.gdx.controllers.ControllerListener listener, String controllerName)
void
initialize(String cONTROLLER_MAPPINGS_FILE, boolean iNVERT_LOOK_X_AXIS, boolean iNVERT_LOOK_Y_AXIS, String[] cONTROLLER_BLACKLIST)
boolean
isControllerBlacklisted(String controllerName)
void
void
removeControllerListener(com.badlogic.gdx.controllers.ControllerListener listener)
-
Field Details
-
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
Controller name blacklist. Check out names in the preferences window.
-
-
Constructor Details
-
ControlsConf
public ControlsConf()
-
-
Method Details
-
initialize
-
isControllerBlacklisted
-
addControllerListener
public void addControllerListener(com.badlogic.gdx.controllers.ControllerListener listener) -
addControllerListener
public void addControllerListener(com.badlogic.gdx.controllers.ControllerListener listener, String controllerName) -
removeControllerListener
public void removeControllerListener(com.badlogic.gdx.controllers.ControllerListener listener) -
removeAllControllerListeners
public void removeAllControllerListeners()
-