home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / mt / simpmous.def < prev    next >
Text File  |  1989-02-19  |  429b  |  19 lines

  1. ; Simple mouse menu functions to map arrow keys and esc, enter and del.
  2. ; Left key is enter, right is mark, both is escape.
  3. ;
  4. begin ent, es, mark, lf, rt, up, dn, 32, 16
  5. ;
  6. ent:    type enter
  7. es:        type esc
  8. mark:    execute mnu1
  9. lf:        type 0, 75
  10. rt:        type 0, 77
  11. up:        type 0, 72
  12. dn:        type 0, 80
  13. ;
  14. mnu1: MENU "Simpmous Active", 2, 55, NORMAL
  15.     option "Left button = Enter", ent
  16.     option "Right button = ESC", esc
  17.     MEND
  18. ;
  19.