Skip to main content

keysym_for_char

Function keysym_for_char 

Source
pub fn keysym_for_char(c: char) -> u32
Expand description

Keysym one literal character types as: Latin-1 printables map 1:1, \n types Return (the raw utf32 table maps it to Linefeed, which no keymap binds), other control characters their 0xffXX function keysyms, everything else the 0x01000000 | codepoint Unicode form (0 = unmappable). The keysym then resolves against an ACTIVE keymap, never a hardcoded layout table.