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

XQueryKeymap()							XQueryKeymap()

Name
  XQueryKeymap	–  obtain  a bit vector for the current state of the key‐
  board.

Synopsis
  XQueryKeymap(display, keys_return)
	Display *display;
	char keys_return[32];

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

  keys_return
	    Returns  an	 array	of  bytes  that identifies which keys are
	    pressed down.  Each bit represents one key of the keyboard.

Description
  XQueryKeymap() returns a bit vector for the logical state of	the  key‐
  board,  where each bit set to 1 indicates that the corresponding key is
  currently pressed down.  The vector is represented as 32 bytes.  Byte N
  (from	 0) contains the bits for keys 8N to 8N+7 with the least signifi‐
  cant bit in the byte representing key 8N.  Note that the logical  state
  may  lag the physical state if device event processing is frozen due to
  a grab.

See Also
  XChangeKeyboardMapping(),	XDeleteModifiermapEntry(),     XFreeModi‐
  fiermap(),  XGetKeyboardMapping(),  XGetModifierMapping(), XInsertModi‐
  fiermapEntry(),   XKeycodeToKeysym(),	  XKeysymToKeycode(),	 XKeysym‐
  ToString(),  XLookupKeysym(),	 XLookupString(), XNewModifiermap(), XRe‐
  bindKeysym(),	    XRefreshKeyboardMapping(),	   XSetModifierMapping(),
  XStringToKeysym().

Xlib - Keyboard							XQueryKeymap()
[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