From 6893c01cd8311446ff26f68bf22ddfb021c309ce Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 3 Oct 2006 08:20:48 +0000 Subject: allow use of right shift/ctrl keys.. maybe --- fbcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fbcon.c b/fbcon.c index dd6a074..3fb9bac 100644 --- a/fbcon.c +++ b/fbcon.c @@ -116,8 +116,8 @@ static int mapkey(unsigned *m, unsigned k, unsigned char *s) return 0; } if (rel || c > 0x80) return 0; - if (*m & 1) c = keymap_sh[k]; - if (*m & 2) { + if (*m & 9) c = keymap_sh[k]; + if (*m & 18) { c &= 0x1f; //if (c >= '@') c &= 0x1f; //else if (keymap_sh[k] >= '@') c = keymap_sh[k] & 0x1f; -- cgit v1.2.3