/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h
Rather than processing input, consume it and discard without doing anything useful with it. Like callingProcessInputStack()and ignoring all results.
void DiscardPlayerInput()