I am looking to replicate the functionality seen on Google's search page where any user input, whether through keyboard or barcode scanner, automatically populates the search box. The input should be captured no matter where on the page it happens, with the exception of other textboxes.
Does anyone have any suggestions on how to capture and handle these events, or where these events are triggered? This is for a GWT application, but I am open to using native Javascript as well.