摘要 |
A method for processing data received from at least one input device associated with a computer, the method comprising: determining if received data is associated with a location-aware event, and in dependence on said data being associated with a non-location-aware event, forwarding the data to be processed by an operating system of the computer; and in dependence on said data being associated with a location-aware event, forwarding the data to be processed by an application running on the computer; on receipt of the data at the application, determining if the event is coincident with the location of a displayed window associated with the application, and in dependence on the event not being coincident with the application window, transmitting the data for delivery to the operating system; and in dependence on the event being coincident with the application window, processing the data at the application. |
主权项 |
1. A method for processing data received from at least one input device associated with a computer having a display, the method comprising:
in a first step, determining if received data for an event is associated with coordinates of a position in a display space of the display, and, in dependence on said data not having coordinates being associated with the position in the display space of the display, forwarding the data to be processed by an operating system of the computer; and in dependence on said data having coordinates being associated with the position in the display space, forwarding the data to be processed by an application running on the computer, in a second step, on receipt of the data at the application, determining if the coordinates of the event are coincident with the location of a displayed window associated with the application, and, in dependence on the coordinates of the event not being coincident with the application window, transmitting the data for delivery to the operating system; and in dependence on the coordinates of the event being coincident with the application window, processing the data at the application. |