PINCH-AND-ZOOM, ZOOM-AND-PINCH GESTURE CONTROL
At least one example embodiment relates to a method comprising: detecting one of a pinch gesture and a zoom gesture as a first event; detecting the other of the pinch gesture and the zoom gesture as a second event; and generating a single event command representing the first and second events if the second event is detected within a desired time period from detecting the first event, the single event command indicating a user-desired function.
1 . A method, comprising:
detecting one of a pinch gesture and a zoom gesture as a first event;
detecting the other of the pinch gesture and the zoom gesture as a second event; and
generating a single event command representing the first and second events if the second event is detected within a desired time period from detecting the first event, the single event command indicating a user-desired function.
2 . The method of claim 1 , wherein the single event command is distinct from a command indicating solely the pinch gesture or solely the zoom gesture.
3 . The method of claim 2 , further comprising:
generating a first event command representing only the first event if the second event is not detected within the desired time period from detecting the first event.
4 . The method of claim 3 , wherein the generating a first event command generates the first event command if a finality event is detected before the second event and within the desired time period.
5 . The method of claim 4 , wherein the desired time period is about 80 ms to about 120 ms.
6 . The method of claim 4 , wherein the finality event is a user gesture.
7 . The method of claim 6 , wherein the user gesture is a user lifting their fingers from the display.
8 . The method of claim 1 , further comprising:
displaying the user-desired function on a display according to the single event command.
9 . The method of claim 1 , wherein the desired time period is about 80 ms to about 120 ms.
10 . A device, comprising:
a multi-touch display configured to detect gestures and output event signals indicative of the detected gestures; and
a controller configured to generate a single event command if the controller receives first and second event signals within a desired time period of one another, the first event signal indicating one of a pinch gesture and a zoom gesture, the second event signal indicating the other of the pinch gesture and the zoom gesture, the single event command indicating a user-desired function.
11 . The device of claim 10 , wherein single event command is distinct from a command indicating solely the pinch gesture or solely the zoom gesture.
12 . The method of claim 10 , wherein the controller is configured to generate a first event command in response to only the first event signal if the controller does not receive the second event signal within the desired time period.
13 . The device of claim 12 , wherein the controller is configured to generate the first event command if the controller receives a finality event signal before the second event signal and within the desired time period.
14 . The device of claim 13 , wherein the desired time period is about 80 ms to about 120 ms.
15 . The device of claim 13 , wherein the finality event signal represents a user gesture.
16 . The device of claim 15 , wherein the user gesture is a user lifting their fingers from the multi-touch display.
17 . The device of claim 10 , wherein the desired time period is about 80 ms to about 120 ms.
18 . The device of claim 10 , wherein the multi-touch display is configured to display the user-desired function according to the single event command.