NAME

xinput - utility to configure and test XInput devices

SYNOPSIS

xinput [version] [list [_d_e_v_i_c_e___n_a_m_e]] [set-pointer _d_e_v_i_c_e___n_a_m_e] [get-feedbacks _d_e_v_i_c_e___n_a_m_e] [set-mode _d_e_v_i_c_e___n_a_m_e _A_B_S_O_L_U_T_E_|_R_E_L_A_T_I_V_E] [set-ptr-feedback _d_e_v_i_c_e___n_a_m_e _t_h_r_e_s_h_o_l_d _n_u_m _d_e_n_o_m] [set-integer-feedback _d_e_v_i_c_e___n_a_m_e _i_n_d_e_x _v_a_l_u_e] [set-button-map _d_e_v_i_c_e___n_a_m_e _m_a_p _b_u_t_t_o_n _1 [_m_a_p _b_u_t_t_o_n _2 [_._._.]]] [query-state _d_e_v_i_c_e___n_a_m_e] [test [-proximity] _d_e_v_i_c_e___n_a_m_e]

DESCRIPTION

xinput version
test if the XInput extension is available and return the version number of the program.

xinput list [_d_e_v_i_c_e___n_a_m_e]
If no argument is given list all the input devices showing all their features. If an argument is given, show all the feature of _d_e_v_i_c_e___n_a_m_e. Uses XListInputDevices(3).

xinput get-feedbacks _d_e_v_i_c_e___n_a_m_e
Display the feedbacks of _d_e_v_i_c_e___n_a_m_e. Uses XGetFeedbackControl(3).

xinput set-pointer _d_e_v_i_c_e___n_a_m_e
Switch _d_e_v_i_c_e___n_a_m_e in core pointer. Uses XChangePointerDevice(3).

xinput set-mode _d_e_v_i_c_e___n_a_m_e _A_B_S_O_L_U_T_E_|_R_E_L_A_T_I_V_E
Change the mode of _d_e_v_i_c_e___n_a_m_e. Uses XSetDeviceMode(3).

xinput set-ptr-feedback _d_e_v_i_c_e___n_a_m_e _t_h_r_e_s_h_o_l_d _n_u_m _d_e_n_o_m
Change the acceleration of _d_e_v_i_c_e___n_a_m_e. Uses XChangeFeedbackControl(3).

xinput set-integer-feedback _d_e_v_i_c_e___n_a_m_e _i_n_d_e_x _v_a_l_u_e
Change the value of an integer feedback of _d_e_v_i_c_e___n_a_m_e. Uses XChangeFeedbackControl(3).

xinput set-button-map _d_e_v_i_c_e___n_a_m_e _m_a_p _b_u_t_t_o_n _1 [_m_a_p _b_u_t_t_o_n _2 [_._._.]]
Change the button mapping of _d_e_v_i_c_e___n_a_m_e. Uses XSetDeviceButtonMapping(3).

xinput query-state _d_e_v_i_c_e___n_a_m_e
Query the device state. Uses XQueryDeviceState(3).

xinput list-props _d_e_v_i_c_e___n_a_m_e [_d_e_v_i_c_e___n_a_m_e...]
Lists properties that can be set for the given device(s).

xinput set-int-prop _d_e_v_i_c_e___n_a_m_e _p_r_o_p_e_r_t_y _f_o_r_m_a_t _v_a_l_u_e
Sets an integer property for the device. Appropriate values for _f_o_r_m_a_t are 8, 16, or 32, depending on the property.

xinput set-float-prop _d_e_v_i_c_e___n_a_m_e _p_r_o_p_e_r_t_y _v_a_l_u_e
Sets a float property for the device.

xinput watch-props _d_e_v_i_c_e___n_a_m_e
Prints to standard out when property changes occur.

xinput delete-prop _d_e_v_i_c_e___n_a_m_e _p_r_o_p_e_r_t_y
Delete the property from the device.

xinput test [-proximity] _d_e_v_i_c_e___n_a_m_e
Register all extended events from _d_e_v_i_c_e___n_a_m_e and enter an endless loop displaying events received. If the -proximity is given, ProximityIn and ProximityOut are registered.

_d_e_v_i_c_e___n_a_m_e can be the device name as a string or the XID of the device.

_p_r_o_p_e_r_t_y can be the property as a string or the Atom value.

Copyright 1996,1997, Frederic Lepied.

Copyright 2008, Philip Langdale.

AUTHOR


Philip Langdale, 
Frederic Lepied, France 

Patches, bug reports, and suggestions are welcome.