Everything you want to know is documented here http://isqueak.org/ioGetNextEvent but I might have missed something or things have changed since last fall