home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xsetdevicevaluators.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  3.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XSetDeviceValuators(3X11)  X FUNCTIONS    XSetDeviceValuators(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XSetDeviceValuators  -  initialize  the    valuators  on  an
  9.        extension input device
  10.  
  11. SSYYNNTTAAXX
  12.        XSetDeviceValuators(_d_i_s_p_l_a_y,     _d_e_v_i_c_e,       _v_a_l_u_a_t_o_r_s,
  13.        _f_i_r_s_t___v_a_l_u_a_t_o_r, _n_u_m___v_a_l_u_a_t_o_r_s)
  14.          Display *_d_i_s_p_l_a_y;
  15.          XDevice *_d_e_v_i_c_e;
  16.          int *_v_a_l_u_a_t_o_r_s;
  17.          int _f_i_r_s_t___v_a_l_u_a_t_o_r;
  18.          int _n_u_m___v_a_l_u_a_t_o_r_s;
  19.  
  20. AARRGGUUMMEENNTTSS
  21.        _d_i_s_p_l_a_y       Specifies the connection to the X server.
  22.  
  23.        _d_e_v_i_c_e       Specifies the device whose valuators are to be
  24.            initialized.
  25.  
  26.        _v_a_l_u_a_t_o_r_s   Specifies a pointer to  an  array  of  integer
  27.            values  to  be  used     to initialize the device
  28.            valuators.
  29.  
  30.        _f_i_r_s_t___v_a_l_u_a_t_o_r
  31.            Specifies the first valuator to be set.  Valu-
  32.            ators are numbered beginning with zero.
  33.  
  34.        _n_u_m___v_a_l_u_a_t_o_r_s
  35.            Specifies the number of valuators to be set.
  36.  
  37. DDEESSCCRRIIPPTTIIOONN
  38.        The _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s request sets the current values of
  39.        the valuators of an input device.  The  valuators  in  the
  40.        range  first_valuator  to (first_valuator + num_valuators)
  41.        are set to the specified values.     Valuators  are     numbered
  42.        beginning  with 0.  Not all input devices support initial-
  43.        ization of valuator values.  If this request is made to    a
  44.        device  that  does not support valuators initialization, a
  45.        _B_a_d_M_a_t_c_h error will occur.
  46.  
  47.        If the request succeeds, a status of Success is    returned.
  48.        If  another  client  has     the  device grabbed, a status of
  49.        AlreadyGrabbed is returned.
  50.  
  51.        _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s can generate a _B_a_d_L_e_n_g_t_h, _B_a_d_D_e_v_i_c_e    ,
  52.        _B_a_d_M_a_t_c_h, or _B_a_d_V_a_l_u_e error.
  53.  
  54. DDIIAAGGNNOOSSTTIICCSS
  55.        _B_a_d_D_e_v_i_c_e   An  invalid    device was specified.  The speci-
  56.            fied device does not exist  or  has    not  been
  57.            opened by this client via _X_O_p_e_n_I_n_p_u_t_D_e_v_i_c_e.
  58.  
  59.        _B_a_d_M_a_t_c_h       This error may occur if an _X_S_e_t_D_e_v_i_c_e_V_a_l_u_a_t_o_r_s
  60.            request is made specifying a device    that  has
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XSetDeviceValuators(3X11)  X FUNCTIONS    XSetDeviceValuators(3X11)
  71.  
  72.  
  73.            no valuators and reports no axes of motion, or
  74.            if such a request is made specifying a  device
  75.            that does not support valuator initialization.
  76.  
  77.        _B_a_d_V_a_l_u_e       An  invalid    first_valuator    or  num_valuators
  78.            values was specified.
  79.  
  80. SSEEEE AALLSSOO
  81.        _P_r_o_g_r_a_m_m_i_n_g _w_i_t_h _X_l_i_b
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.