QS_ALLINPUT

const win32event.QS_ALLINPUT;

Any message is in the queue.