Query: xgetkeyboaa
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XGetKeyboardControl() XGetKeyboardControl()
Name
XGetKeyboardControl - obtain a list of the current keyboard preferences.
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 keyboard. 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 significant 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()
| Related Man Pages |
|---|
| xautorepeaton(3x11) - redhat |
| xquerykeymap(3x11) - redhat |
| xautorepeatoff(3x11) - osf1 |
| xbell(3x11) - osf1 |
| xgetkeyboardcontrol(3x11) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| awk - Multi-line data to be stored in variable |
| Seeking Alternative for diff in hp |
| Tar Command |