home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / getdev.z / getdev
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttddddeeeevvvv((((3333GGGG))))                                                          ggggeeeettttddddeeeevvvv((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttddddeeeevvvv - reads a list of valuators at one time
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggeeeettttddddeeeevvvv((((nnnn,,,, ddddeeeevvvvssss,,,, vvvvaaaallllssss))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
  14.      iiiinnnntttteeeeggggeeeerrrr****2222 ddddeeeevvvvssss((((nnnn)))),,,, vvvvaaaallllssss((((nnnn))))
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _n      expects the number of devices named in the _d_e_v_s array (no more
  18.             than 128).
  19.  
  20.      _d_e_v_s   expects an array containing the device identifiers (device number
  21.             constants, such as MOUSEX, BPADX, LEFTMO etc.) of the devices you
  22.             want to read.  This array can contain up to 128 devices.
  23.  
  24.      _v_a_l_s   expects the array into which you want the system to write the
  25.             values read from the devices listed in the _d_e_v_s array.  Each
  26.             member in the _v_a_l_s array corresponds to a member of the _d_e_v_s
  27.             array.  Thus, the value at _v_a_l_s(_3) was read from the device named
  28.             in _d_e_v_s(_3).
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      ggggeeeettttddddeeeevvvv allows you to read as many 128 valuators and buttons (input
  32.      devices) at one time.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      getbut, getval
  36.  
  37. NNNNOOOOTTTTEEEE
  38.      This routine is available only in immediate mode.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.