Did you register the listener?
inputManager.addRawInputListener(this);
Also, you have to implement RawInputListener when you want to listen to raw input.. The onMouseMotionEvent() will not be called by it.
If you want to listen to Mouse input, you have to implement MouseInputListener and add the listener *and binding* to the inputManager:
inputManager.addMapping("MouseAxisX", new MouseAxisTrigger(MouseInput.AXIS_X, false));
inputManager.addMapping("MouseAxisY", new MouseAxisTrigger(MouseInput.AXIS_Y, false));
inputManager.addListener(this, "MouseAxisX");
inputManager.addListener(this, "MouseAxisY");
Cheers,
Normen