Searched defs:joyId (Results 1 - 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
H A D | JoyInput.java | 51 * Causes the joystick at <code>joyId</code> index to rumble with 54 * @param joyId The joystick index 57 public void setJoyRumble(int joyId, float amount); argument
|
H A D | Joystick.java | 15 private int joyId; field in class:Joystick 25 int joyId, String name, int buttonCount, int axisCount, 29 this.joyId = joyId; 44 joyInput.setJoyRumble(joyId, amount); 60 inputManager.addMapping(mappingName, new JoyButtonTrigger(joyId, buttonId)); 73 inputManager.addMapping(positiveMapping, new JoyAxisTrigger(joyId, axisId, false)); 74 inputManager.addMapping(negativeMapping, new JoyAxisTrigger(joyId, axisId, true)); 132 return "Joystick[name=" + name + ", id=" + joyId + ", buttons=" + buttonCount 24 Joystick(InputManager inputManager, JoyInput joyInput, int joyId, String name, int buttonCount, int axisCount, int xAxis, int yAxis) argument
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/controls/ |
H A D | JoyAxisTrigger.java | 39 private final int joyId, axisId; field in class:JoyAxisTrigger 46 public JoyAxisTrigger(int joyId, int axisId, boolean negative) { argument 47 this.joyId = joyId; 52 public static int joyAxisHash(int joyId, int joyAxis, boolean negative){ argument 54 return (2048 * joyId) | (negative ? 1280 : 1024) | (joyAxis & 0xff); 62 return joyId; 70 return "JoyAxis[joyId="+joyId+", axisId="+axisId+", neg="+negative+"]"; 74 return joyAxisHash(joyId, axisI [all...] |
H A D | JoyButtonTrigger.java | 39 private final int joyId, buttonId; field in class:JoyButtonTrigger 44 * @param joyId 47 public JoyButtonTrigger(int joyId, int axisId) { argument 48 this.joyId = joyId; 52 public static int joyButtonHash(int joyId, int joyButton){ argument 54 return (2048 * joyId) | 1536 | (joyButton & 0xff); 62 return joyId; 66 return "JoyButton[joyId="+joyId [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/input/lwjgl/ |
H A D | JInputJoyInput.java | 55 public void setJoyRumble(int joyId, float amount){ argument 56 Controller c = indicesToController.get(joyId); 132 int joyId = controllerToIndices.get(c); 160 JoyAxisEvent evt1 = new JoyAxisEvent(joyId, JoyInput.AXIS_POV_X, x); 161 JoyAxisEvent evt2 = new JoyAxisEvent(joyId, JoyInput.AXIS_POV_Y, y); 167 JoyAxisEvent evt = new JoyAxisEvent(joyId, axisIdsToIndices[joyId].get(axis), value); 171 JoyButtonEvent evt = new JoyButtonEvent(joyId, buttonIdsToIndices[joyId].get(button), e.getValue() == 1f);
|
Completed in 1818 milliseconds