Hi there…
I had a similar problem but did not find a good answer.
I’ve written a class that doesn’t use quaternions at all.
I use the mouse to control the camera, like in a strategy game, but you can assign it other inputs of course.
I have posted my solution here:
hub.jmonkeyengine.org/t/rotating-the-camera-around-a-point-object-solved/31458