Camera like the one in Enter The Dungeon

I think the camera in Enter The Gungeon is one of the best I’ve ever been lucky enough to enjoy, I’d really like to implement it in my game.

Basically it is a camera that moves away from the player depending on the mouse but without taking it out of the frame

I have tried forcing the camera, centering with limits, even giving it a fixed path around the player object but it has been impossible, will there be a god who will listen to my regret?

At a guess, lerp the camera to the position between the mouse and player.