I’m wanting to detect whether modifier keys are held down at startup so the application can “dump its prefs” (just in case someone manages to corrupt the prefs in a bad way).
Unfortunately, both ModifierKeys::getCurrentModifiers() and ModifierKeys::getCurrentModifiersRealTime() return a ModifierKeys with rawKeys = 0 right to the very end of my startup sequence - where I need to either use those prefs, or to trash them and get defaults. I’ve already created my components, displayed them and done everything except resize them. I’m running this on Mac OS/X
If I could get notification when ModifierKeys were ready to read, that’d be fine too!
Any ideas? Debugging this is, as you can imagine, hard…