How to flush keyboard?

Hi All

How do you flush the keyboard in C++ (for changing focus on a slate widget)? I found GetPlayerController()->FlushPlayerInput() in an answerhub post but that appears to have gone from 4.4. FlushPlayerInput is in Console.h and I can’t access that header…


The is a FlushPressedKeys function that seems available in 4.4, maybe that could help?

perfect Dune, thats exactly what I needed- thanks!