/external/jmonkeyengine/engine/src/test/jme3test/post/ |
BloomUI.java | 34 import com.jme3.input.InputManager; 46 public BloomUI(InputManager inputManager, final BloomFilter filter) { 55 inputManager.addMapping("blurScaleUp", new KeyTrigger(KeyInput.KEY_Y)); 56 inputManager.addMapping("blurScaleDown", new KeyTrigger(KeyInput.KEY_H)); 57 inputManager.addMapping("exposurePowerUp", new KeyTrigger(KeyInput.KEY_U)); 58 inputManager.addMapping("exposurePowerDown", new KeyTrigger(KeyInput.KEY_J)); 59 inputManager.addMapping("exposureCutOffUp", new KeyTrigger(KeyInput.KEY_I)); 60 inputManager.addMapping("exposureCutOffDown", new KeyTrigger(KeyInput.KEY_K)); 61 inputManager.addMapping("bloomIntensityUp", new KeyTrigger(KeyInput.KEY_O)) [all...] |
LightScatteringUI.java | 35 import com.jme3.input.InputManager; 48 public LightScatteringUI(InputManager inputManager, LightScatteringFilter proc) { 62 inputManager.addMapping("sampleUp", new KeyTrigger(KeyInput.KEY_Y)); 63 inputManager.addMapping("sampleDown", new KeyTrigger(KeyInput.KEY_H)); 64 inputManager.addMapping("blurStartUp", new KeyTrigger(KeyInput.KEY_U)); 65 inputManager.addMapping("blurStartDown", new KeyTrigger(KeyInput.KEY_J)); 66 inputManager.addMapping("blurWidthUp", new KeyTrigger(KeyInput.KEY_I)); 67 inputManager.addMapping("blurWidthDown", new KeyTrigger(KeyInput.KEY_K)); 68 inputManager.addMapping("lightDensityUp", new KeyTrigger(KeyInput.KEY_O)) [all...] |
SSAOUI.java | 34 import com.jme3.input.InputManager; 49 public SSAOUI(InputManager inputManager, SSAOFilter filter) { 51 init(inputManager); 54 private void init(InputManager inputManager) { 65 inputManager.addMapping("sampleRadiusUp", new KeyTrigger(KeyInput.KEY_Y)); 66 inputManager.addMapping("sampleRadiusDown", new KeyTrigger(KeyInput.KEY_H)); 67 inputManager.addMapping("intensityUp", new KeyTrigger(KeyInput.KEY_U)); 68 inputManager.addMapping("intensityDown", new KeyTrigger(KeyInput.KEY_J)) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
WaterUI.java | 35 import com.jme3.input.InputManager; 47 public WaterUI(InputManager inputManager, SimpleWaterProcessor proc) { 61 inputManager.addMapping("transparencyUp", new KeyTrigger(KeyInput.KEY_Y)); 62 inputManager.addMapping("transparencyDown", new KeyTrigger(KeyInput.KEY_H)); 63 inputManager.addMapping("depthUp", new KeyTrigger(KeyInput.KEY_U)); 64 inputManager.addMapping("depthDown", new KeyTrigger(KeyInput.KEY_J)); 65 // inputManager.addMapping("scaleUp", new KeyTrigger(KeyInput.KEY_I)); 66 // inputManager.addMapping("scaleDown", new KeyTrigger(KeyInput.KEY_K)); 67 // inputManager.addMapping("biasUp", new KeyTrigger(KeyInput.KEY_O)) [all...] |
TestPostWaterLake.java | 107 inputManager.addListener(new ActionListener() { 120 inputManager.addMapping("HQ", new KeyTrigger(keyInput.KEY_SPACE));
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
DebugKeysAppState.java | 36 import com.jme3.input.InputManager; 59 private InputManager inputManager; 69 this.inputManager = app.getInputManager(); 73 inputManager.addMapping(INPUT_MAPPING_CAMERA_POS, new KeyTrigger(KeyInput.KEY_C)); 74 inputManager.addMapping(INPUT_MAPPING_MEMORY, new KeyTrigger(KeyInput.KEY_M)); 76 inputManager.addListener(keyListener, 86 if (inputManager.hasMapping(INPUT_MAPPING_CAMERA_POS)) 87 inputManager.deleteMapping(INPUT_MAPPING_CAMERA_POS); 88 if (inputManager.hasMapping(INPUT_MAPPING_MEMORY) [all...] |
SimpleApplication.java | 188 if (inputManager != null) { 201 inputManager.addMapping(INPUT_MAPPING_EXIT, new KeyTrigger(KeyInput.KEY_ESCAPE)); 205 inputManager.addMapping(INPUT_MAPPING_HIDE_STATS, new KeyTrigger(KeyInput.KEY_F5)); 206 inputManager.addListener(actionListener, INPUT_MAPPING_HIDE_STATS); 209 inputManager.addListener(actionListener, INPUT_MAPPING_EXIT);
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
Joystick.java | 13 private InputManager inputManager; 24 public Joystick(InputManager inputManager, JoyInput joyInput, 27 this.inputManager = inputManager; 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));
|
FlyByCamera.java | 83 protected InputManager inputManager;
127 if (inputManager!= null && (!dragToRotate || (dragToRotate && canRotate))){
128 inputManager.setCursorVisible(true);
164 if (inputManager != null) {
165 inputManager.setCursorVisible(dragToRotate);
172 * @param inputManager
174 public void registerWithInput(InputManager inputManager){
175 this.inputManager = inputManager; [all...] |
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
SimpleSoundTest.java | 28 inputManager.addMapping("click", new MouseButtonTrigger(MouseInput.BUTTON_LEFT));
29 inputManager.addListener(this, "click");
|
TestMovingParticle.java | 82 inputManager.addListener(new ActionListener() { 91 inputManager.addMapping("setNum", new KeyTrigger(KeyInput.KEY_SPACE));
|
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestPointSprite.java | 76 inputManager.addListener(new ActionListener() { 86 inputManager.addMapping("setNum", new KeyTrigger(KeyInput.KEY_SPACE));
|
TestMovingParticle.java | 74 inputManager.addListener(new ActionListener() { 83 inputManager.addMapping("setNum", new KeyTrigger(KeyInput.KEY_SPACE));
|
/external/jmonkeyengine/engine/src/test/jme3test/input/ |
TestControls.java | 64 inputManager.addMapping("My Action", 69 inputManager.addListener(actionListener, "My Action"); 70 inputManager.addListener(analogListener, "My Action");
|
TestJoystick.java | 22 Joystick[] joysticks = inputManager.getJoysticks(); 30 inputManager.addMapping("DPAD Left", new JoyAxisTrigger(0, JoyInput.AXIS_POV_X, true)); 31 inputManager.addMapping("DPAD Right", new JoyAxisTrigger(0, JoyInput.AXIS_POV_X, false)); 32 inputManager.addMapping("DPAD Down", new JoyAxisTrigger(0, JoyInput.AXIS_POV_Y, true)); 33 inputManager.addMapping("DPAD Up", new JoyAxisTrigger(0, JoyInput.AXIS_POV_Y, false)); 34 inputManager.addListener(this, "DPAD Left", "DPAD Right", "DPAD Down", "DPAD Up"); 36 inputManager.addMapping("Joy Left", new JoyAxisTrigger(0, 0, true)); 37 inputManager.addMapping("Joy Right", new JoyAxisTrigger(0, 0, false)); 38 inputManager.addMapping("Joy Down", new JoyAxisTrigger(0, 1, true)); 39 inputManager.addMapping("Joy Up", new JoyAxisTrigger(0, 1, false)) [all...] |
TestChaseCamera.java | 78 chaseCam = new ChaseCamera(cam, teaGeom, inputManager); 110 inputManager.addMapping("moveForward", new KeyTrigger(keyInput.KEY_UP), new KeyTrigger(keyInput.KEY_W)); 111 inputManager.addMapping("moveBackward", new KeyTrigger(keyInput.KEY_DOWN), new KeyTrigger(keyInput.KEY_S)); 112 inputManager.addMapping("moveRight", new KeyTrigger(keyInput.KEY_RIGHT), new KeyTrigger(keyInput.KEY_D)); 113 inputManager.addMapping("moveLeft", new KeyTrigger(keyInput.KEY_LEFT), new KeyTrigger(keyInput.KEY_A)); 114 inputManager.addMapping("displayPosition", new KeyTrigger(keyInput.KEY_P)); 115 inputManager.addListener(this, "moveForward", "moveBackward", "moveRight", "moveLeft"); 116 inputManager.addListener(this, "displayPosition");
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
ScreenshotAppState.java | 4 import com.jme3.input.InputManager; 38 InputManager inputManager = app.getInputManager(); 39 inputManager.addMapping("ScreenShot", new KeyTrigger(KeyInput.KEY_SYSRQ)); 40 inputManager.addListener(this, "ScreenShot");
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloInput.java | 72 inputManager.addMapping("Pause", new KeyTrigger(keyInput.KEY_P));
73 inputManager.addMapping("Left", new KeyTrigger(KeyInput.KEY_J));
74 inputManager.addMapping("Right", new KeyTrigger(KeyInput.KEY_K));
75 inputManager.addMapping("Rotate", new KeyTrigger(KeyInput.KEY_SPACE), // spacebar!
78 inputManager.addListener(actionListener, new String[]{"Pause"});
79 inputManager.addListener(analogListener, new String[]{"Left", "Right", "Rotate"});
|
HelloAnimation.java | 101 inputManager.addMapping("Walk", new KeyTrigger(KeyInput.KEY_SPACE)); 102 inputManager.addListener(actionListener, "Walk");
|
HelloAudio.java | 63 inputManager.addMapping("Shoot", new MouseButtonTrigger(0)); 64 inputManager.addListener(actionListener, "Shoot");
|
/external/jmonkeyengine/engine/src/test/jme3test/renderer/ |
TestParallelProjection.java | 68 inputManager.addListener(this, "Size+", "Size-"); 69 inputManager.addMapping("Size+", new KeyTrigger(KeyInput.KEY_W)); 70 inputManager.addMapping("Size-", new KeyTrigger(KeyInput.KEY_S));
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestAttachGhostObject.java | 68 inputManager.addMapping("Lefts", new KeyTrigger(KeyInput.KEY_H)); 69 inputManager.addMapping("Rights", new KeyTrigger(KeyInput.KEY_K)); 70 inputManager.addMapping("Space", new KeyTrigger(KeyInput.KEY_SPACE)); 71 inputManager.addListener(this, "Lefts", "Rights", "Space");
|
TestPhysicsHingeJoint.java | 57 inputManager.addMapping("Left", new KeyTrigger(KeyInput.KEY_H)); 58 inputManager.addMapping("Right", new KeyTrigger(KeyInput.KEY_K)); 59 inputManager.addMapping("Swing", new KeyTrigger(KeyInput.KEY_SPACE)); 60 inputManager.addListener(this, "Left", "Right", "Swing");
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
TestTriangleCollision.java | 84 inputManager.addMapping("MoveRight", new KeyTrigger(KeyInput.KEY_L)); 85 inputManager.addMapping("MoveLeft", new KeyTrigger(KeyInput.KEY_J)); 86 inputManager.addMapping("MoveUp", new KeyTrigger(KeyInput.KEY_I)); 87 inputManager.addMapping("MoveDown", new KeyTrigger(KeyInput.KEY_K)); 89 inputManager.addListener(analogListener, new String[]{
|
/external/jmonkeyengine/engine/src/test/jme3test/gui/ |
TestBitmapFont.java | 62 inputManager.addMapping("WordWrap", new KeyTrigger(KeyInput.KEY_TAB)); 63 inputManager.addListener(keyListener, "WordWrap"); 64 inputManager.addRawInputListener(textListener);
|