home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 206.lha / Grab_Pointer / readme.1st < prev    next >
Text File  |  1988-12-28  |  1KB  |  35 lines

  1. Hi folks,
  2.  
  3. This is a little tool I did in a couple of hours (look at the two examples
  4. and you will see why (UGLY!!)). It Grabs the current pointer using some 
  5. Illegal INTUITIONPRIVATE stuff and creates a file that can be used in C.
  6. If you are lazy like me you may find it handy. 
  7.  
  8. Syntax :
  9.  
  10. GetPointer [-d seconds] [-c] [-f filename]
  11.  
  12. -d          delay a number of seconds before grabbing pointer.
  13. -c          make the file a .C file with function call instead of .h .
  14. -f          use this file name.
  15.  
  16. Examples :
  17.  
  18. GetPointer -d 10 -f test.h   /* wait 10 seconds and put pointer in test.h */
  19.  
  20. GetPointer -d 5 -c           /* wait 5 seconds and put pointer in pointer.c */
  21.  
  22. There are two example files included with this arc file : Test and Test2.
  23. These show the two differnt formats and interfaces to set the pointer.
  24.  
  25. to rebuild the test files do:
  26.  
  27. cc -o test.o test.c
  28. ln +cd test -lc               /* +cd to force data into chip ram */
  29.  
  30. etc......
  31.  
  32.                                        Hope someone finds this useful
  33.  
  34.                                                  Matt Tway
  35.