1. A computer-implemented method of translating a first type of input event to a second type of input event, the method comprising: receiving an input event directed to an object of an application executing on a computer, the input event generated responsive to a user interaction with an input device of the computer; responsive to the input event being of the first type, translating the input event of the first type to an input event of the second type; selectively filtering the input event of the second type; and dispatching the input event of the second type to the object of the application responsive to the filtering.