X11::Keysyms - Perl module for names of X11 keysyms
use X11::Keysyms '%Keysyms', qw(MISCELLANY XKB_KEYS LATIN1); %Keysyms_name = reverse %Keysyms; $ks = $Keysyms{'BackSpace'}; $name = $Keysysms_name{$ks};
User Contributed Perl Documentation Keysyms(3) NAME X11::Keysyms - Perl module for names of X11 keysyms SYNOPSIS use X11::Keysyms '%Keysyms', qw(MISCELLANY XKB_KEYS LATIN1); %Keysyms_name = reverse %Keysyms; $ks = $Keysyms{'BackSpace'}; $name = $Keysysms_name{$ks}; DESCRIPTION This module exports a hash mapping the names of X11 keysyms, such as 'A' or 'Linefeed' or 'Hangul_J_YeorinHieuh', onto the numbers that represent them. The first argument to 'use' is the name of the variable the hash should be exported into, and the rest are names of subsets of the keysysms to export: one or more of 'MISCELLANY', 'XKB_KEYS', '3270', 'LATIN1', 'LATIN2', 'LATIN3', 'LATIN4', 'KATAKANA', 'ARABIC', 'CYRILLIC', 'GREEK', 'TECHNICAL', 'SPECIAL', 'PUBLISHING', 'APL', 'HEBREW', 'THAI', 'KOREAN'. If this list is omitted, the list 'MISCELLANY', 'XKB_KEYS', 'LATIN1', 'LATIN2', 'LATIN3', 'LATIN4', 'GREEK' is used. AUTHOR This module was generated semi-automatically by Stephen McCamant (<SMCCAM@cpan.org>) from the header file 'X11/keysymdef.h', distributed by the X Consortium. ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+--------------------------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+--------------------------------------+ |Availability | library/perl-5/perl-x11-protocol-532 | +---------------+--------------------------------------+ |Stability | Uncommitted | +---------------+--------------------------------------+ SEE ALSO perl(1), X11::Protocol, X Window System Protocol (X Version 11). NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-0.56.tar.gz. Further information about this software can be found on the open source community website at http://search.cpan.org/~smccam/X11-Protocol. perl v5.32.0 2003-01-27 Keysyms(3)