Override FloatingPawnMovement so that it doesn't accept input from arrow keys

I am perfectly happy to use default UFloatingPawnMovement for my game. My only problem is, I would like to restrict the keys it uses to WSAD+mouse.
The default version uses also Q, E, Spacebar and arrow keys. They are used for other functionalities for my project. Is there an easy way to free them up?

Are you implementing the input events directly in your pawn BP? If so, have a look at the default project inputs in Edit>Project Settings>Input and delete the ones that are causing you conflicts.