[AD] Bug in docs (events.txt) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers <allegro-developers@xxxxxxxxxx>
- Subject: [AD] Bug in docs (events.txt)
- From: Edgar Reynaldo <edgarreynaldo@xxxxxxxxxx>
- Date: Thu, 19 Jan 2017 22:27:34 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=members-allegro-cc.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version; bh=iNFlWRI6j287XARrFCLTL/QjsOjqJVY8M9TaEecabAc=; b=Mb3U0vcLGeIDXQJzwbWnN+V5Feum9kowY2g9etmqwb9Iq9D2rfKbyCzuPResSQl93I VnYugPT2kuNl7nEiGY2Bdt3G5TIhemP4MMTk8HCQROywwSc3mDmnbGWSeqF51GUC9Qfx AKYLGat+wWORJfYFFTtE6WiedhTl6kbdXR85GwbZdzN6sWFpnUOPYr+W2e2VWl00loYS c6DrJdD+K/ynDI6hQbyiiXGMghqw/zU2eva28SNfCGKYuiul6PifadzWdYWRPaegHbkf R/zqYoS1PpRHKmFM0813pOAcn4SQycgY0c6uUx58fy/iGF6vi3CoDQQHidkGlWiC4B8G l19A==
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.