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().
Xlib Reference Manual