Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xkeysymtokeycode(3x) [hpux man page]

XKeysymToKeycode(3X)						  XLIB FUNCTIONS					      XKeysymToKeycode(3X)

NAME
XKeysymToKeycode - convert keysyms SYNTAX
KeyCode XKeysymToKeycode(display, keysym) Display *display; KeySym keysym; ARGUMENTS
display Specifies the connection to the X server. keysym Specifies the KeySym that is to be searched for or converted. DESCRIPTION
To obtain a KeyCode for a key having a specific KeySym, use XKeysymToKeycode. If the specified KeySym is not defined for any KeyCode, XKeysymToKeycode returns zero. SEE ALSO
XStringToKeysym(3X), XKeysymToString(3X), XKeycodeToKeysym(3X), XConvertCase(3X) X Version 11 Release 6 XKeysymToKeycode(3X)

Check Out this Related Man Page

XStringToKeysym(3X11)						     MIT X11R4						     XStringToKeysym(3X11)

Name
       XStringToKeysym, XKeysymToString, XKeycodeToKeysym, XKeysymToKeycode - convert keysyms

Syntax
       KeySym XStringToKeysym(string)
	  char *string;

       char *XKeysymToString(keysym)
	  KeySym keysym;

       KeySym XKeycodeToKeysym(display, keycode, index)
	  Display *display;
	  KeyCode keycode;
	  int index;

       KeyCode XKeysymToKeycode(display, keysym)
	  Display *display;
	  KeySym keysym;

Arguments
       display	 Specifies the connection to the X server.

       index	 Specifies the element of KeyCode vector.

       keycode	 Specifies the KeyCode.

       keysym	 Specifies the KeySym that is to be searched for or converted.

       string	 Specifies the name of the KeySym that is to be converted.

Description
       Valid KeySym names are listed in by removing the XK_ prefix from each name.  If the specified string does not match a valid KeySym, returns

       The returned string is in a static area and must not be modified.  If the specified KeySym is not defined, returns a NULL.

       The function uses internal Xlib tables and returns the KeySym defined for the specified KeyCode and the element of the KeyCode vector.  If
       no symbol is defined, returns

       If the specified KeySym is not defined for any KeyCode, returns zero.

See Also
       XLookupKeysym(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XStringToKeysym(3X11)
Man Page