Hey guys,
Here's a small patch to fix a bug in the docs. There were some missing
newlines which caused the events doc to display incorrectly on the
ALLEGRO_EVENT_TOUCH_BEGIN event. Patch attached.
docs/src/refman/events.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/src/refman/events.txt b/docs/src/refman/events.txt
index daee9f1..ccb1028 100644
--- a/docs/src/refman/events.txt
+++ b/docs/src/refman/events.txt
@@ -297,18 +297,24 @@ The touch input device registered a new touch.
touch.display (ALLEGRO_DISPLAY)
: The display which was touched.
+
touch.id (int)
: An identifier for this touch. If supported by the device it will
stay the same for events from the same finger until the touch
ends.
+
touch.x (float)
: The x coordinate of the touch in pixels.
+
touch.y (float)
: The y coordinate of the touch in pixels.
+
touch.dx (float)
: Movement speed in pixels in x direction.
+
touch.dy (float)
: Movement speed in pixels in y direction.
+
touch.primary (bool)
: Whether this is the only/first touch or an additional touch.
_______________________________________________
Allegro-developers mailing list
[email protected]
https://mail.gna.org/listinfo/allegro-developers