Event Registration and Dispatch System and Method for Multi-Point Controls
First Claim
1. A multi-point input system, comprising:
- a multi-point input device having an input surface and adapted to sense simultaneous contacts of the input surface and providing as an output data streams representing strokes on the input surface over a period of time; and
a controller configured to maintain-a set of one or more user interface elements that respond to contact of the input surface and that have an associated tangible and at least one associated listener representing a respective control operation, receive the data streams from the multi-point input device, carry out a set of processes during a given frame representing a single moment in time, and repeat the set of processes for each of a successive plurality of frames over said period of time, the set of processes including;
identifying each new stroke in the given frame, a new stroke representing a new contact of the input surface;
registering each identified new stroke to the listener of at least one of the user interface elements in the maintained set based on a relationship between a position of contact of the identified new stroke and the tangible of one or more of the user interface elements;
notifying, for each listener to which a new stroke has been registered in the given frame, the respective listener of the existence of the respective new stroke, each notified listener representing an active listener;
identifying each released stroke in the given frame, a released stroke representing an end of a contact of the input surface;
notifying, for each identified released stroke in the given frame, the respective listener of the discontinuation of the released stroke, each active listener becoming an inactive listener conditioned on being notified of released strokes such that the listener is no longer listening to any strokes; and
dispatching, in the given frame, each of the active listeners to implement the respective control operation based on an updated state or states of one or more non-released strokes of which the respective listener is notified, the updated state of a non-released stroke corresponding to a current position of contact of the input surface.
1 Assignment
0 Petitions
Accused Products
Abstract
Dynamic registration of event handlers in a computer application or operating system recognizes multiple synchronous input streams by identifying each new stroke in a frame representing a single moment in time and mapping in a registration process each identified new stroke to a listening process that is associated with the user interface element to which the new input stream is to be applied. In the same frame, released strokes are unmapped and then each active listening process is called to carry out a respective control operation. When called, the strokes have the correct data for the given frame. The process is repeated for subsequent frames. By carrying out various processes in a sequence of frames, the concept of concurrency is preserved, which is particularly beneficial to multi-touch and multi-user systems.
-
Citations
6 Claims
-
1. A multi-point input system, comprising:
-
a multi-point input device having an input surface and adapted to sense simultaneous contacts of the input surface and providing as an output data streams representing strokes on the input surface over a period of time; and a controller configured to maintain-a set of one or more user interface elements that respond to contact of the input surface and that have an associated tangible and at least one associated listener representing a respective control operation, receive the data streams from the multi-point input device, carry out a set of processes during a given frame representing a single moment in time, and repeat the set of processes for each of a successive plurality of frames over said period of time, the set of processes including; identifying each new stroke in the given frame, a new stroke representing a new contact of the input surface; registering each identified new stroke to the listener of at least one of the user interface elements in the maintained set based on a relationship between a position of contact of the identified new stroke and the tangible of one or more of the user interface elements; notifying, for each listener to which a new stroke has been registered in the given frame, the respective listener of the existence of the respective new stroke, each notified listener representing an active listener; identifying each released stroke in the given frame, a released stroke representing an end of a contact of the input surface; notifying, for each identified released stroke in the given frame, the respective listener of the discontinuation of the released stroke, each active listener becoming an inactive listener conditioned on being notified of released strokes such that the listener is no longer listening to any strokes; and dispatching, in the given frame, each of the active listeners to implement the respective control operation based on an updated state or states of one or more non-released strokes of which the respective listener is notified, the updated state of a non-released stroke corresponding to a current position of contact of the input surface. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification