XGetPointeB 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]

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  but‐
  tons.	 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 starting
  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 but‐
  ton 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(),  XGetPointerCon‐
  trol(), XGrabPointer(), XQueryPointer(), XSetPointerMapping(), XUngrab‐
  Pointer(), XWarpPointer().

Xlib - Pointer						  XGetPointerMapping()
[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