From b776a3b998d704e6f1fb414a963269f472529d72 Mon Sep 17 00:00:00 2001 From: Ge Wang Date: Thu, 21 Nov 2024 17:20:06 -0800 Subject: [PATCH] add comments to mouse examples --- examples/hid/mouse-abs.ck | 5 ++++- examples/hid/mouse-fm.ck | 3 +++ examples/hid/mouse.ck | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/hid/mouse-abs.ck b/examples/hid/mouse-abs.ck index 6e27106a1..bcbebb902 100644 --- a/examples/hid/mouse-abs.ck +++ b/examples/hid/mouse-abs.ck @@ -1,7 +1,10 @@ //----------------------------------------------------------------------------- // name: mouse-abs.ck // desc: basic mouse input (absolute normalized screen X Y coordinates) -// also see mouse.ck for relative X Y deltas +// ALSO SEE mouse.ck for relative X Y deltas +// ALSO SEE mouse-cursor.ck for mouse cursor tracking... +// (MouseCursor is both absolute and scaled and is a different +// and simpler mechanism for mouse position input) // // note: select between mice/trackpads by specifying device number; // to see a list of devices and their numbers, either... diff --git a/examples/hid/mouse-fm.ck b/examples/hid/mouse-fm.ck index f842cbc88..4845ed536 100644 --- a/examples/hid/mouse-fm.ck +++ b/examples/hid/mouse-fm.ck @@ -2,6 +2,9 @@ // name: mouse-fm.ck // desc: uses first X/Y axes of a mouse to control modulation frequency // and index of modulation for FM Synthesis +// ALSO SEE mouse-cursor.ck for mouse cursor tracking... +// (MouseCursor is both absolute and scaled and is a different +// and simpler mechanism for mouse position input) // // note: select between mice/trackpads by specifying device number; // to see a list of devices and their numbers, either... diff --git a/examples/hid/mouse.ck b/examples/hid/mouse.ck index 24023e04d..1fa0285e1 100644 --- a/examples/hid/mouse.ck +++ b/examples/hid/mouse.ck @@ -1,7 +1,10 @@ //----------------------------------------------------------------------------- // name: mouse.ck // desc: basic mouse input (relative X and Y deltas) -// also see: mouse-abs.ck for absolute screen position +// ALSO SEE mouse-abs.ck for absolute screen position +// ALSO SEE mouse-cursor.ck for mouse cursor tracking... +// (MouseCursor is both absolute and scaled and is a different +// and simpler mechanism for mouse position input) // // note: select between mice/trackpads by specifying device number; // to see a list of devices and their numbers, either...