diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-03 08:20:48 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-03 08:20:48 +0000 |
commit | 6893c01cd8311446ff26f68bf22ddfb021c309ce (patch) | |
tree | 49e7d03065735062b7a557a74a67b61a25d1984c /fbcon.c | |
parent | d7db60821ad81ecca505195240cbb31ceb741180 (diff) |
allow use of right shift/ctrl keys.. maybe
Diffstat (limited to 'fbcon.c')
-rw-r--r-- | fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |