Keysyms(3)

πŸ’– NAME πŸ’–

This is Keysyms(3), a User Contributed Perl Documentation page, and the module is X11::Keysyms β€” Perl module for names of X11 keysyms. That’s the whole vibe: it’s the Perl bestie for X11 keysym names, no cap. πŸ’…


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this module exports a hash that maps the names of X11 keysyms β€” literally things like 'A' or 'Linefeed' or 'Hangul_J_YeorinHieuh' β€” onto the numbers that represent them. It’s giving β€œnames to numbers” main character energy. ⭐

The first argument to use is the name of the variable the hash should be exported into. The rest of the arguments are names of subsets of the keysysms to export, and you can pick one or more of these:

'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. Slay, defaults. πŸŽ€


🌸 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. Iconic origin story, fr fr. πŸ‘‘


🌈 SEE ALSO 🌈

  • perl(1) β€” yes bestie, the Perl page
  • X11::Protocol β€” the X11 Perl module bestie
  • X Window System Protocol (X Version 11) β€” the protocol lore

πŸ’– That’s the whole page, bestie β€” source/version perl v5.42.0, dated 2024-03-04, and the manual page is Keysyms(3). Bye! πŸ’–

πŸ“¦ where this page comes from