Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ChgPointCtr(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

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

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

do_accelSpecifies 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.

thresholdSpecifies 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 values 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

BadValueaccel_denominator is 0. 
Negative value for do_accel or do_threshold. 

SEE ALSO

XChangeActivePointerGrab(), XGetPointerControl(), XGetPointerMapping(), XGrabPointer(), XQueryPointer(), XSetPointerMapping(), XUngrabPointer(), XWarpPointer(). 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026