From eac545f80e54764c9650ca3f75fd7a4bd972992f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 12 Jun 2018 22:25:52 +0200 Subject: [PATCH] added the "return" and "escape" key to be simulated by global animations --- src/libgame/misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 6432523e..6577f951 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -1516,6 +1516,10 @@ void translate_keyname(Key *keysym, char **x11name, char **name, int mode) char *name; } translate_key[] = { + /* return and escape keys */ + { KSYM_Return, "XK_Return", "return" }, + { KSYM_Escape, "XK_Escape", "escape" }, + /* normal cursor keys */ { KSYM_Left, "XK_Left", "cursor left" }, { KSYM_Right, "XK_Right", "cursor right" }, -- 2.34.1