Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XRefreshKeyboardMapping − read keycode-keysym mapping from server into Xlib. 

Synopsis

XRefreshKeyboardMapping(map_event)
XMappingEvent *map_event;

Arguments

map_eventSpecifies the mapping event that triggered this call. 

Description

XRefreshKeyboardMapping() causes Xlib to update its knowledge of the mapping between keycodes and keysyms.  This updates the application’s knowledge of the keyboard.  The application should call XRefreshKeyboardMapping() when a MappingNotify event occurs.  MappingNotify events occur when some client has called XChangeKeyboardMapping().  For more information, see Volume One, Chapter 9, The Keyboard and Pointer. 

Structures

typedef struct {
int type;
unsigned long serial;   /* # of last request processed by server */
Bool send_event;    /* true if this came from a SendEvent request */
Display *display;/* display the event was read from */
Window window;/* unused */
int request;/* one of MappingModifier, MappingKeyboard,
   MappingPointer */
int first_keycode;/* first keycode */
int count;/* defines range of change with first_keycode*/
} XMappingEvent;

See Also

XChangeKeyboardMapping(), XDeleteModifiermapEntry(), XFreeModifiermap(), XGetKeyboardMapping(), XGetModifierMapping(), XInsertModifiermapEntry(), XKeycodeToKeysym(), XKeysymToKeycode(), XKeysymToString(), XLookupKeysym(), XLookupString(), XNewModifierMap, XQueryKeymap(), XRebindKeysym(), XSetModifierMapping(), XStringToKeysym(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026