logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

X11::Keysyms - Perl module for names of X11 keysyms

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.

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.

Name

       X11::Keysyms - Perl module for names of X11 keysyms

See Also

perl(1), X11::Protocol, XWindowSystemProtocol(XVersion11).

perl v5.36.0                                       2022-10-13                                       Keysyms(3pm)

Synopsis

         use X11::Keysyms '%Keysyms', qw(MISCELLANY XKB_KEYS LATIN1);
         %Keysyms_name = reverse %Keysyms;
         $ks = $Keysyms{'BackSpace'};
         $name = $Keysysms_name{$ks};

See Also