/Engine/Source/Developer/AutomationDriver/Public/IAutomationDriver.h
the current state of modifier keys for the application
[FModifierKeysState](API\Runtime\ApplicationCore\GenericPlatform\FModifierKeysState) GetModifierKeys() const