README.gesture
changeset 4690 baf8195aeb92
parent 4689 f9ab8df6d45a
child 4693 2ede56a19f2f
     1.1 --- a/README.gesture	Sun Aug 15 00:36:28 2010 -0400
     1.2 +++ b/README.gesture	Thu Aug 19 13:47:12 2010 -0400
     1.3 @@ -5,7 +5,7 @@
     1.4  
     1.5  Gestures can be performed with any number of fingers (the centroid of the fingers must follow the path of the gesture), but the number of fingers must be constant (a finger cannot go down in the middle of a gesture). The path of a gesture is considered the path from the time when the final finger went down, to the first time any finger comes up. 
     1.6  
     1.7 -Dollar gestures are assigned an Id based on a hash function. This is guaranteed to remain constant for a given gesture. There is a (small) chance that two different gestures will be assigned the same ID. In this simply re-recording on of the gestures should result in a different ID.
     1.8 +Dollar gestures are assigned an Id based on a hash function. This is guaranteed to remain constant for a given gesture. There is a (small) chance that two different gestures will be assigned the same ID. In this case, simply re-recording one of the gestures should result in a different ID.
     1.9  
    1.10  Recording:
    1.11  ----------
    1.12 @@ -19,7 +19,6 @@
    1.13  event.dgesture.gestureId - the unique id of the recoreded gesture.
    1.14  
    1.15  
    1.16 -
    1.17  Performing:
    1.18  -----------
    1.19  As long as there is a dollar gesture assigned to a touch, every finger-up event will also cause an SDL_DOLLARGESTURE event with the following fields:
    1.20 @@ -53,7 +52,7 @@
    1.21  ===========================================================================
    1.22  Multi Gestures
    1.23  ===========================================================================
    1.24 -SDL provides simple support to pinch/rotate/swipe gestures. 
    1.25 +SDL provides simple support for pinch/rotate/swipe gestures. 
    1.26  Every time a finger is moved an SDL_MULTIGESTURE event is sent with the following fields:
    1.27  
    1.28  event.mgesture.touchId - the Id of the touch on which the gesture was performed.