EVENT REGISTRATION AND DISPATCH SYSTEM AND METHOD FOR MULTI-POINT CONTROLS
First Claim
1. A method of handling input streams representing strokes on a multi-point input device capable of having multiple synchronous input streams, comprising the steps of:
- identifying each new stroke in a given frame and mapping each identified new stroke to one or more listening processes, the given frame representing a single moment in time;
identifying each released stroke in the given frame and unmapping each identified released stroke from the respective listening process to which the stroke previously was mapped;
implementing in the given frame each listening process to which at least one stroke is mapped, each implemented listening process being carried out based on a current state of each stroke mapped to the respective listening process; and
repeating both identifying steps and the implementing step for each of a successive plurality of frames.
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
32 Claims
-
1. A method of handling input streams representing strokes on a multi-point input device capable of having multiple synchronous input streams, comprising the steps of:
-
identifying each new stroke in a given frame and mapping each identified new stroke to one or more listening processes, the given frame representing a single moment in time; identifying each released stroke in the given frame and unmapping each identified released stroke from the respective listening process to which the stroke previously was mapped; implementing in the given frame each listening process to which at least one stroke is mapped, each implemented listening process being carried out based on a current state of each stroke mapped to the respective listening process; and repeating both identifying steps and the implementing step for each of a successive plurality of frames. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of handling input streams in a multi-point input device capable of having multiple synchronous input streams, comprising the steps of:
-
maintaining a list of one or more user interface elements that respond to contact of the multi-point input device, each of the user interface elements having an associated tangible and at least one associated listener, each listener representing a respective control operation; processing, for each given frame of a plurality of frames each representing a single moment in time, one or more input streams representing contacts of the multi-point input device by; identifying each new stroke in the given frame, a new stroke representing a new contact of the multi-point input device; registering each identified new stroke to the listener of at least one of the user interface elements in the maintained list based on a relationship between a position of contact of the identified new stroke and the tangible of one or more 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 multi-point input device; notifying, for each identified released stroke in the given frame, the respective listener of the discontinuation of the released stroke, each active listener being notified of only released strokes becoming an inactive listener; 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 multi-point input device. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. 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 for receiving the data streams from the multi-point input device, carrying out a set of processes during a given frame representing a single moment in time, and repeating 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 a given frame and mapping each identified new stroke to one or more listening processes; identifying each released stroke in the given frame and unmapping each identified released stroke from the respective listening process to which the stroke previously was mapped; and implementing in the given frame each listening process to which at least one stroke is mapped, each implemented listening process being carried out based on a current state of each stroke mapped to the respective listening process. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. 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 for maintaining a list 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, receiving the data streams from the multi-point input device, carrying out a set of processes during a given frame representing a single moment in time, and repeating 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 list based on a relationship between a position of contact of the identified new stroke and the tangible of each user interface element; 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 being notified of only released strokes becoming an inactive listener; 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 (28, 29, 30, 31, 32)
-
Specification