[SOLVED] What would be the expected results from doing this?

[java]
inputManager.deleteMapping(“FLYCAM_RotateDrag”);
inputManager.addMapping(“FLYCAM_RotateDrag”, new MouseButtonTrigger(MouseInput.BUTTON_RIGHT));
[/java]

The reason I ask, is it currently only adds the right click support.

[java]
inputManager.deleteMapping(“FLYCAM_RotateDrag”);
[/java]

Has no effect, whether or not I add the mapping again… am I doing this wrong?

Eh… moved this to another AppStates initialization and it worked.

Ignore this :wink:

EDIT: Don’t forget to add the mapping to the correct listener if you do it this way.