X11::Keysyms(3pm)

X11::Keysyms3pm

Perl module for names of x11 keysyms

Usage

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

Overview

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

Author

This module was generated semi-automatically by Stephen McCamant (<[email protected]>) from the header file 'X11/keysymdef.h', distributed by the X Consortium.

From perl-x11-protocol 0.56-18 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.