An input session allows applications to control how raw events are processed into higher-level events.
A session allows your application to capture events that are specific to a certain region, device, or Screen event type; it provides you more control over the dispatching of input events than can be achieved through windows alone.