input.addMapping("jump", new KeyTrigger(KeyInput.KEY_SPACE));
input.addMapping("center", new KeyTrigger(KeyInput.KEY_2));
input.addMapping("crouch", new KeyTrigger(KeyInput.KEY_LSHIFT));
input.addMapping("camera", new KeyTrigger(KeyInput.KEY_F));
input.addMapping("shoot", new MouseButtonTrigger(0));
input.addMapping("head_left", new MouseAxisTrigger(0, true));
input.addMapping("head_right", new MouseAxisTrigger(0, false));
input.addMapping("head_up", new MouseAxisTrigger(1, false));
input.addMapping("head_down", new MouseAxisTrigger(1, true));
input.setCursorVisible(false);
input.addListener(analogListener, "left", "right", "jump", "crouch", "head_left", "head_right", "head_up", "head_down");
input.addListener(actionListener, "forward", "backward", "crouch", "jump", "shoot", "center", "camera");
}