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

XGetKeyboardControl()					 XGetKeyboardControl()

Name
  XGetKeyboardControl  –  obtain  a  list of the current keyboard prefer‐
  ences.

Synopsis
  XGetKeyboardControl(display, values_return)
	Display *display;
	XKeyboardState *values_return;

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

  values_return
	    Returns filled XKeyboardState() structure.

Description
  XGetKeyboardControl()	 returns  the current control values for the key‐
  board.  For the LEDs (light emitting diodes), the least significant bit
  of  led_mask	corresponds  to	 LED  1, and each bit that is set to 1 in
  led_mask indicates an LED that is lit.  auto_repeats is a  bit  vector;
  each bit that is set to 1 indicates that auto-repeat is enabled for the
  corresponding key.  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.  global_auto_repeat is either
  AutoRepeatModeOn or AutoRepeatModeOff.

  For  the ranges of each member of XKeyboardState(), see the description
  of XChangePointerControl().

  For more information, see Volume  One,  Chapter  9,  The  Keyboard  and
  Pointer.

Structures
     typedef struct {
	 int key_click_percent;
	 int bell_percent;
	 unsigned int bell_pitch, bell_duration;
	 unsigned long led_mask;
	 int global_auto_repeat;
	 char auto_repeats[32];
     } XKeyboardState;

See Also
  XAutoRepeatOff(),  XAutoRepeatOn(),  XBell(), XChangeKeyboardControl(),
  XGetDefault(), XGetPointerControl().

Xlib - User Preferences					 XGetKeyboardControl()
[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