XChangePointerControl man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XChangePointerControl()				       XChangePointerControl()

Name
  XChangePointerControl – change the pointer preferences.

Synopsis
  XChangePointerControl(display, do_accel, do_threshold, accel_numerator,
  accel_denominator, threshold)
	Display *display;
	Bool do_accel, do_threshold;
	int accel_numerator, accel_denominator;
	int threshold;

Arguments
  display   Specifies  a  connection  to  an  X	 server;  returned   from
	    XOpenDisplay().

  do_accel  Specifies  a  boolean  value that controls whether the values
	    for the accel_numerator or accel_denominator  are  set.   You
	    can pass one of these constants:  True or False.

  do_threshold
	    Specifies a boolean value that controls whether the value for
	    the threshold is set.  You can pass one of	these  constants:
	    True or False.

  accel_numerator
	    Specifies the numerator for the acceleration multiplier.

  accel_denominator
	    Specifies the denominator for the acceleration multiplier.

  threshold Specifies the acceleration threshold.  True or False.

Description
  XChangePointerControl() defines how the pointing device functions.  The
  acceleration is a  fraction  (accel_numerator/accel_denominator)  which
  specifies  how  many	times faster than normal the sprite on the screen
  moves for a given pointer movement.	Acceleration  takes  effect  only
  when	a  particular  pointer motion is greater than threshold pixels at
  once, and only applies to the motion beyond threshold pixels.	 The val‐
  ues  for  do_accel and do_threshold must be True for the pointer values
  to be set; otherwise, the parameters will be unchanged.  Setting any of
  the last three arguments to -1 restores the default for that argument.

  The fraction may be rounded arbitrarily by the server.

Errors
  BadValue  accel_denominator is 0.
	    Negative value for do_accel or do_threshold.

See Also
  XChangeActivePointerGrab(), XGetPointerControl(), XGetPointerMapping(),
  XGrabPointer(),   XQueryPointer(),	XSetPointerMapping(),	 XUngrab‐
  Pointer(), XWarpPointer().

Xlib - Pointers					       XChangePointerControl()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net