keysym
A keysym is a symbolic name that represents a key on a keyboard or other input device. It is part of the X Window System, a graphics system commonly used in Unix-like operating systems. Keysyms are not the same as keycodes, which are numerical representations of physical keys. Instead, keysyms provide a higher-level abstraction, allowing applications to understand the meaning of a key press regardless of the physical layout of the keyboard or the specific hardware being used.
For example, the keysym "a" represents the lowercase 'a' key. Pressing the Shift key along with "a"