Get raw keydown bool status?

Hello!
How do I get the raw key down event?

There is a function that determines whether Shift is pressed.
IsShiftDown in UnrealClient.h

Is there a similar one for mouse and keyboard events?
Where can I pass the eKeys::RightMouseButton argument to
and get bool return result is pressed?

Maybe this?
GEngine->GameViewport->Viewport->GetClient()->InputKey()