xgetpointeb(3) hpux man page | unix.com

Man Page: xgetpointeb

Operating Environment: hpux

Section: 3

XGetPointerMapping()													      XGetPointerMapping()

Name
  XGetPointerMapping - get the pointer button mapping.

Synopsis
  int XGetPointerMapping(display, map_return, nmap)
	Display *display;
	unsigned char map_return[];
	int nmap;

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

  map_return
	    Returns the mapping list.  Array begins with map_return[].

  nmap	    Specifies the number of items in mapping list.

Returns
  The number of elements in the pointer list.

Description
  XGetPointerMapping()	returns the current mapping of the pointer buttons.  Information is returned in both the arguments and the function's
  return value.  map_return is an array of the numbers of the buttons as they are currently mapped.  Elements of the list are indexed  start-
  ing  from  1.  The nominal mapping for a pointer is the identity mapping: map_return[i]=i+1.	If map[2]=2, it means that the third physical
  button triggers the second logical button.

  nmap indicates the desired number of button mappings.

  The return value of the function is the actual number of elements in the pointer list, which may be greater or less than nmap.

See Also
  XChangeActivePointerGrab(), XChangePointerControl(), XGetPointerControl(), XGrabPointer(), XQueryPointer(), XSetPointerMapping(),  XUngrab-
  Pointer(), XWarpPointer().

Xlib - Pointer														      XGetPointerMapping()
Related Man Pages
xsetpointermapping(3) - debian
xsetpointermapping(3) - centos
xgetpointermapping(3) - x11r4
xsetpointermapping(3) - hpux
xgetpointermapping(3x11) - osf1
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
SAN Migration question
Hpux 11iV3 administration document
awk - Multi-line data to be stored in variable