1Keysyms(3) User Contributed Perl Documentation Keysyms(3)
2
3
4
6 X11::Keysyms - Perl module for names of X11 keysyms
7
9 use X11::Keysyms '%Keysyms', qw(MISCELLANY XKB_KEYS LATIN1);
10 %Keysyms_name = reverse %Keysyms;
11 $ks = $Keysyms{'BackSpace'};
12 $name = $Keysysms_name{$ks};
13
15 This module exports a hash mapping the names of X11 keysyms, such as
16 'A' or 'Linefeed' or 'Hangul_J_YeorinHieuh', onto the numbers that
17 represent them. The first argument to 'use' is the name of the variable
18 the hash should be exported into, and the rest are names of subsets of
19 the keysysms to export: one or more of
20
21 'MISCELLANY', 'XKB_KEYS', '3270', 'LATIN1', 'LATIN2',
22 'LATIN3', 'LATIN4', 'KATAKANA', 'ARABIC', 'CYRILLIC',
23 'GREEK', 'TECHNICAL', 'SPECIAL', 'PUBLISHING', 'APL',
24 'HEBREW', 'THAI', 'KOREAN'.
25
26 If this list is omitted, the list
27
28 'MISCELLANY', 'XKB_KEYS', 'LATIN1', 'LATIN2', 'LATIN3',
29 'LATIN4', 'GREEK'
30
31 is used.
32
34 This module was generated semi-automatically by Stephen McCamant
35 (<SMCCAM@cpan.org>) from the header file 'X11/keysymdef.h', distributed
36 by the X Consortium.
37
39 perl(1), X11::Protocol, X Window System Protocol (X Version 11).
40
41
42
43perl v5.38.0 2023-07-21 Keysyms(3)