From d7735ca6dc2dc7b676fe80a377f0e9e7b57aa855 Mon Sep 17 00:00:00 2001 From: "fvogelnew1@free.fr" Date: Sun, 29 Jan 2017 17:11:28 +0000 Subject: Add comment explaining that ks_names.h should be kept in sync with keysymdef.h, and explain why this needs to be done manually. --- generic/ks_names.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/generic/ks_names.h b/generic/ks_names.h index af73d3b..9f49130 100644 --- a/generic/ks_names.h +++ b/generic/ks_names.h @@ -1,3 +1,16 @@ +/* + * This file should be maintained in sync with xlib/X11/keysymdefs.h + * + * Note that this should be done manually only, because in some cases + * keysymdefs.h defines the same integer for multiple keysyms, e.g.: + * + * #define XK_Greek_LAMDA 0x7cb + * #define XK_Greek_LAMBDA 0x7cb + * + * #define XK_Cyrillic_DZHE 0x6bf + * #define XK_Serbian_DZE 0x6bf (deprecated) + * + */ { "BackSpace", 0xFF08 }, { "Tab", 0xFF09 }, { "Linefeed", 0xFF0A }, -- cgit v0.12