Camera controls not working with mouse

what isn’t working? What do you expect to happen and what really happens?

Make sure to format code so we may read it easier.