Skip to content

Commit

Permalink
add comments to mouse examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Nov 22, 2024
1 parent 7c42a0c commit b776a3b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/hid/mouse-abs.ck
Original file line number Diff line number Diff line change
@@ -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...
Expand Down
3 changes: 3 additions & 0 deletions examples/hid/mouse-fm.ck
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
5 changes: 4 additions & 1 deletion examples/hid/mouse.ck
Original file line number Diff line number Diff line change
@@ -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...
Expand Down

0 comments on commit b776a3b

Please sign in to comment.