Index Keyboard
int trap_Key_GetCatcher( void );
if (trap_Key_GetCatcher() & KEYCATCH_UI) { /* happy happy */ }