Lock the app to 1 Landscape but still get the orientation changes

Hi. My project settings are set to support only Landscape Right orientation, but I still want to know what orientation the device actually is. Is there an easy way to check this or do I have to check the tilt axis and calculate with the angles?
I tried the GetDeviceOrientation node but it does’nt change when the sttings are locked to landscape.
I also tried binding to FCoreDelegates::ApplicationReceivedScreenOrientationChangedNotificationDelegate but it also didn’t seem to get triggered. (Maybe I screwed up though. I’m not very experienced with c++)
FCoreDelegates::ApplicationReceivedScreenOrientationChangedNotificationDelegate.AddUFunction(this, "FOnOrientationChanged");