








	       IInnffoorrmmaattiioonn aabboouutt tthhee XXIInnppuutt eexxtteennssiioonn iinn XXFFrreeee8866

				Frdric Lepied

				  12 May 1996



_1_.  _I_n_t_r_o_d_u_c_t_i_o_n

This document provides	some information  about	 the XInput  extension imple
mented in XFree86.

If  you have any suggestions,  comments, fixes	or ideas regarding the XInput
extension in XFree86 or about this document, send e-mail to

lepied@XFree86.Org

Bug Reports should be sent to

_X_F_r_e_e_8_6_@_X_F_r_e_e_8_6_._O_r_g

Questions or anything else should be posted to the NewsGroup

_c_o_m_p_._w_i_n_d_o_w_s_._x_._i_3_8_6_u_n_i_x


_2_.  _D_e_s_c_r_i_p_t_i_o_n

The XInput extension is a standard X Consortium extension. The goal of this
extension is to allow additional input	devices management to the X Window Sys
tem. The documentation could  be found in the X Consortium distribution under
_x_c_/_d_o_c_/_h_a_r_d_c_o_p_y_/_X_i.


_3_.  _X_F_r_e_e_8_6 _i_m_p_l_e_m_e_n_t_a_t_i_o_n

The XFree86 implementation contains 2 parts : the server part and two clients
(_x_s_e_t_p_o_i_n_t_e_r and _x_s_e_t_m_o_d_e).

_3_._1  _S_e_r_v_e_r _s_i_d_e

The server supports the following extended devices :

    Joystick (only on  supported systems ie. Linux, FreeBSD and NetBSD). Fea
     tures :

	 Relative mode.

	 2 valuators (x and y axis).




 Information about the XInput extension in XFree86			      1





 Information about the XInput extension in XFree86			      2



	 2 buttons.


    Elographics touchscreen. Features :

	 Absolute mode.

	 2 valuators (x and y axis).

	 1 button.


    Mouse. Features :

	 Relative mode.

	 2 valuators (x and y axis).

	 up to 4 buttons.


    Wacom stylus. Features :

	 Absolute or relative modes.

	 5 valuators :

	    1.	X axis.

	    2.	Y axis.

	    3.	pressure.

	    4.	X tilt.

	    5.	Y tilt.

	 3 buttons.

	 Proximity report.

	 Motion history capability.

	 Macro/function buttons are reported as keys.


    Wacom eraser. Features :

	 Absolute or relative modes.

	 5 valuators :

	    1.	X axis.









 Information about the XInput extension in XFree86			      3



	    2.	Y axis.

	    3.	pressure.

	    4.	X tilt.

	    5.	Y tilt.

	 1 button.

	 Proximity report.

	 Motion history capability.

	 Macro/function buttons are reported as keys.


    Wacom cursor. Features :

	 Absolute or relative modes.

	 5 valuators :

	    1.	X axis.

	    2.	Y axis.

	    3.	pressure.

	    4.	X tilt.

	    5.	Y tilt.

	 16 buttons.

	 Proximity report.

	 Motion history capability.

	 Macro/function buttons are reported as keys.


    SummaSketch tablet. Features :

	 Absolute or relative modes.

	 2 valuators (x and y axis).

	 2 button stylus or 4 button puck.

	 Proximity report.

	 Motion history capability.









 Information about the XInput extension in XFree86			      4



To  enable  an	 extended  device, you	must   add   en	 entry	in the _X_F_8_6_C_o_n_
_f_i_g file.   Consult   to  the _X_F_8_6_C_o_n_f_i_g  man pages to see the details.

_3_._2  _C_l_i_e_n_t_s

_x_s_e_t_p_o_i_n_t_e_r is used to	change the device controlling the core pointer and to
list available extended devices.

_x_s_e_t_m_o_d_e is used to change the mode (absolute or relative) of an extended
device. The device  has to  support relative and  absolute modes and the device
must not control the core pointer.

Consult the man pages for details.

     Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/xinput.sgml,v 3.6 1997/01/25 03:22:26 dawes Exp $




     $XConsortium: xinput.sgml /main/3 1996/10/27 11:06:13 kaleb $










































 Information about the XInput extension in XFree86			      5





































































				   CONTENTS



1. Introduction	 ............................................................ 1

2. Description	............................................................. 1

3. XFree86 implementation  .................................................. 1
   3.1 Server side  ......................................................... 1
   3.2 Clients	............................................................. 4













































				       i


