Home
last modified time | relevance | path

Searched refs:axisId (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/
DJoyAxisTrigger.java39 private final int joyId, axisId; field in JoyAxisTrigger
46 public JoyAxisTrigger(int joyId, int axisId, boolean negative) { in JoyAxisTrigger() argument
48 this.axisId = axisId; in JoyAxisTrigger()
58 return axisId; in getAxisId()
70 return "JoyAxis[joyId="+joyId+", axisId="+axisId+", neg="+negative+"]"; in getName()
74 return joyAxisHash(joyId, axisId, negative); in triggerHashCode()
DJoyButtonTrigger.java47 public JoyButtonTrigger(int joyId, int axisId) { in JoyButtonTrigger() argument
49 this.buttonId = axisId; in JoyButtonTrigger()
/external/jmonkeyengine/engine/src/core/com/jme3/input/
DJoystick.java72 public void assignAxis(String positiveMapping, String negativeMapping, int axisId){ in assignAxis() argument
73 inputManager.addMapping(positiveMapping, new JoyAxisTrigger(joyId, axisId, false)); in assignAxis()
74 inputManager.addMapping(negativeMapping, new JoyAxisTrigger(joyId, axisId, true)); in assignAxis()