From 9d5444f95f86fa67e2901377b21a9d8e0554e03e Mon Sep 17 00:00:00 2001 From: marschap Date: Mon, 24 Apr 2006 16:14:50 +0000 Subject: [PATCH] fix previous patch --- server/drivers/pylcd.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/server/drivers/pylcd.c b/server/drivers/pylcd.c index 51b28da..a9fc299 100644 --- a/server/drivers/pylcd.c +++ b/server/drivers/pylcd.c @@ -1091,7 +1091,7 @@ pyramid_get_key (Driver *drvthis) if (strcmp(p->last_key_pressed, "K1000") == 0) /* last from left */ return "Escape"; -#ifdef DEFAULT_NAMES_FOR_COMBINED_KEYPRESSES +#ifdef PYRAMID_DECODE_COMBINED_KEYPRESSES /* Do we really want to type that much */ if (strcmp(p->last_key_pressed, "K0012") == 0) /* A+B */ return "Up+Down"; @@ -1120,14 +1120,9 @@ pyramid_get_key (Driver *drvthis) return "Enter+Escape"; if (strcmp(p->last_key_pressed, "K0021") == 0) /* D+C */ return "Escape+Enter"; -#else - /* Why try to convert all key codes. We're - * getting pretty nice information already. - * The other drivers don't know about combined keys anyways. - */ - return p->last_key_pressed; - //return NULL; // Ignore combined key events #endif + + return NULL; // Ignore combined key events };