/* Event notification function for SIMPLE_POINTER.WaitForInput event. Signal the event if there is input from mouse. */
VOID EFIAPI MouseWaitForInput(IN EFI_EVENT Event, IN VOID *Context)
/* Event notification function for SIMPLE_POINTER.WaitForInput event. Signal the event if there is input from mouse. */
VOID EFIAPI MouseWaitForInput(IN EFI_EVENT Event, IN VOID *Context)
{
  PS2_MOUSE_DEV  *MouseDev;
  MouseDev = (PS2_MOUSE_DEV *)Context;
  if (MouseDev->StateChanged) {
    gBS->SignalEvent (Event);
  }
}