diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php
index dd7f9ee..697cedf 100644
--- a/freeglut/web-src/docs/api.php
+++ b/freeglut/web-src/docs/api.php
@@ -2145,11 +2145,8 @@ glutStopVideoResizing
MultiTouch Functions
MultiTouch callbacks are used to handle environments with multiple
-inputs, such as a multi-touch touchpad.
-
-TODO: it seems this supports multiple mouses on X11
-(id=XIDeviceEvent->deviceid
), as opposed to multiple
-contact points on Windows (id=TOUCHINPUT->id
).
+inputs, such as a multi-touch screen, multi-touch touchpad, or
+multiple mouses.
glutMultiEntryFunc(id, GLUT_ENTERED|GLUT_LEFT)
glutMultiButtonFunc(id, x, y, button, GLUT_DOWN|GLUT_UP)
@@ -2157,13 +2154,36 @@ contact points on Windows (id=TOUCHINPUT->id
).
glutMultiPassiveFunc(id, x, y)
These functions work like their non-multi variants, with an additional
-'deviceid' parameter describing the current input device.
+'deviceid' parameter describing the current input device (mouse or
+finger).
Exception: in MultiButtonFunc, the order of callback parameters is
different (x,y,button,state instead of button,state,x,y).
The non-multi callback variants are also called on X11.
-TODO: are both callbacks called on Windows as well?
+TODO: are both callbacks called on Windows as well?
+
+
+
+Limitation: currently on the cursor id is provided. It may be
+desirable to get the device id as well in the following situations:
+
+
+
+ - Support a 2-fingers gesture such as pinch-to-zoom on the
+ touchscreen, while the mouse pointer or touchpad is performing an
+ unrelated action, not part of the touchscreen gesture (may not be
+ possible on some platforms).
+
+ - To investigate: avoid touch id conflicts between touchpad and
+ touchscreen on Android; a possible work-around is to shift the
+ device id in the touch id.
+
+
+
+Since this extra support comes at the cost of extra complexity, we're
+considering whether/how to implement it.
+
19. Miscellaneous Functions