Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XGetPointerControl − get the current pointer preferences. 

Synopsis

XGetPointerControl(display, accel_numerator_return, accel_denominator_return, threshold_return)

Display *display;
int *accel_numerator_return, *accel_denominator_return;
int *threshold_return;

Arguments

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

accel_numerator_return
Returns the numerator for the acceleration multiplier.

accel_denominator_return
Returns the denominator for the acceleration multiplier.

threshold_return
Returns the acceleration threshold in pixels.  The pointer must move more than this amount before acceleration takes effect.

Description

XGetPointerControl() gets the pointer’s current acceleration parameters.  accel_numerator_return divided by accel_denominator_return is the number of pixels the cursor moves per unit of motion of the pointer, applied only to the amount of movement over threshold_return. 

See Also

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

Copyright O’Reilly & Assoc.  —  

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