Home | History | Annotate | Download | only in input

Lines Matching refs:inputManager

102     inputManager.addMapping("moveForward", new KeyTrigger(keyInput.KEY_UP), new KeyTrigger(keyInput.KEY_W));
103 inputManager.addMapping("moveBackward", new KeyTrigger(keyInput.KEY_DOWN), new KeyTrigger(keyInput.KEY_S));
104 inputManager.addMapping("moveRight", new KeyTrigger(keyInput.KEY_RIGHT), new KeyTrigger(keyInput.KEY_D));
105 inputManager.addMapping("moveLeft", new KeyTrigger(keyInput.KEY_LEFT), new KeyTrigger(keyInput.KEY_A));
106 inputManager.addMapping("toggleRotate", new MouseButtonTrigger(MouseInput.BUTTON_LEFT));
107 inputManager.addMapping("rotateRight", new MouseAxisTrigger(MouseInput.AXIS_X, true));
108 inputManager.addMapping("rotateLeft", new MouseAxisTrigger(MouseInput.AXIS_X, false));
109 inputManager.addListener(this, "moveForward", "moveBackward", "moveRight", "moveLeft");
110 inputManager.addListener(this, "rotateRight", "rotateLeft", "toggleRotate");
145 inputManager.setCursorVisible(false);
149 inputManager.setCursorVisible(true);