home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XSetDeviceValuators(3X11) X FUNCTIONS XSetDeviceValuators(3X11)
-
-
- NNAAMMEE
- XSetDeviceValuators - initialize the valuators on an
- extension input device
-
- SSYYNNTTAAXX
- XSetDeviceValuators(_d_i_s_p_l_a_y, _d_e_v_i_c_e, _v_a_l_u_a_t_o_r_s,
- _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)
- Display *_d_i_s_p_l_a_y;
- XDevice *_d_e_v_i_c_e;
- int *_v_a_l_u_a_t_o_r_s;
- int _f_i_r_s_t___v_a_l_u_a_t_o_r;
- int _n_u_m___v_a_l_u_a_t_o_r_s;
-
- AARRGGUUMMEENNTTSS
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _d_e_v_i_c_e Specifies the device whose valuators are to be
- initialized.
-
- _v_a_l_u_a_t_o_r_s Specifies a pointer to an array of integer
- values to be used to initialize the device
- valuators.
-
- _f_i_r_s_t___v_a_l_u_a_t_o_r
- Specifies the first valuator to be set. Valu-
- ators are numbered beginning with zero.
-
- _n_u_m___v_a_l_u_a_t_o_r_s
- Specifies the number of valuators to be set.
-
- DDEESSCCRRIIPPTTIIOONN
- 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
- the valuators of an input device. The valuators in the
- range first_valuator to (first_valuator + num_valuators)
- are set to the specified values. Valuators are numbered
- beginning with 0. Not all input devices support initial-
- ization of valuator values. If this request is made to a
- device that does not support valuators initialization, a
- _B_a_d_M_a_t_c_h error will occur.
-
- If the request succeeds, a status of Success is returned.
- If another client has the device grabbed, a status of
- AlreadyGrabbed is returned.
-
- _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 ,
- _B_a_d_M_a_t_c_h, or _B_a_d_V_a_l_u_e error.
-
- DDIIAAGGNNOOSSTTIICCSS
- _B_a_d_D_e_v_i_c_e An invalid device was specified. The speci-
- fied device does not exist or has not been
- opened by this client via _X_O_p_e_n_I_n_p_u_t_D_e_v_i_c_e.
-
- _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
- request is made specifying a device that has
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XSetDeviceValuators(3X11) X FUNCTIONS XSetDeviceValuators(3X11)
-
-
- no valuators and reports no axes of motion, or
- if such a request is made specifying a device
- that does not support valuator initialization.
-
- _B_a_d_V_a_l_u_e An invalid first_valuator or num_valuators
- values was specified.
-
- SSEEEE AALLSSOO
- _P_r_o_g_r_a_m_m_i_n_g _w_i_t_h _X_l_i_b
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-