Changing universal camera input behavior

I have a scenario where I need to use universal camera, but I would like to have it panning on right click and also reversing the direction of rotation on left click and drag.

Any help on how to achieve this is appreciated!

the best option is probably to update the input managers:

Here is the one of them (the keyboard for free and universal cameras): Babylon.js/freeCameraKeyboardMoveInput.ts at master · BabylonJS/Babylon.js · GitHub