Any Way to Detect Which Keyboard Woke System From Sleep?

Hi there – I'm trying to differentiate which display turns on (laptop built-in or external) based on which keyboard was pressed (built-in or external) to wake the system from sleep.

Is this possible with KM? I can't think of anything – Seemed like maybe there'd be a function for it, but not seeing any.

I can't see how. The system will swallow that key stroke entirely so I doubt anything can see what key stroke caused the system to wake.