docs/README-touch.md
changeset 9066 c2af3ff967cc
parent 9025 d09d4b578e77
child 10212 af95dd343a25
     1.1 --- a/docs/README-touch.md	Fri Aug 15 23:18:57 2014 +0200
     1.2 +++ b/docs/README-touch.md	Fri Aug 15 23:39:14 2014 +0200
     1.3 @@ -20,18 +20,18 @@
     1.4  SDL_FINGERDOWN:
     1.5  Sent when a finger (or stylus) is placed on a touch device.
     1.6  Fields:
     1.7 -event.tfinger.touchId  - the Id of the touch device.
     1.8 -event.tfinger.fingerId - the Id of the finger which just went down.
     1.9 -event.tfinger.x        - the x coordinate of the touch (0..1)
    1.10 -event.tfinger.y        - the y coordinate of the touch (0..1)
    1.11 -event.tfinger.pressure - the pressure of the touch (0..1)
    1.12 +* event.tfinger.touchId  - the Id of the touch device.
    1.13 +* event.tfinger.fingerId - the Id of the finger which just went down.
    1.14 +* event.tfinger.x        - the x coordinate of the touch (0..1)
    1.15 +* event.tfinger.y        - the y coordinate of the touch (0..1)
    1.16 +* event.tfinger.pressure - the pressure of the touch (0..1)
    1.17  
    1.18  SDL_FINGERMOTION:
    1.19  Sent when a finger (or stylus) is moved on the touch device.
    1.20  Fields:
    1.21  Same as SDL_FINGERDOWN but with additional:
    1.22 -event.tfinger.dx       - change in x coordinate during this motion event.
    1.23 -event.tfinger.dy       - change in y coordinate during this motion event.
    1.24 +* event.tfinger.dx       - change in x coordinate during this motion event.
    1.25 +* event.tfinger.dy       - change in y coordinate during this motion event.
    1.26  
    1.27  SDL_FINGERUP:
    1.28  Sent when a finger (or stylus) is lifted from the touch device.
    1.29 @@ -70,11 +70,12 @@
    1.30  As a result, be very careful to check for NULL return values.
    1.31  
    1.32  A SDL_Finger has the following fields:
    1.33 ->x,y,pressure:
    1.34 +* x,y,pressure:
    1.35  	The current coordinates of the touch.
    1.36 ->pressure:
    1.37 +* pressure:
    1.38  	The pressure of the touch.
    1.39  
    1.40 +
    1.41  ===========================================================================
    1.42  Notes
    1.43  ===========================================================================