From c4dd0f628262161b1d75e2113fc35ac86f11ec4a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 30 Jul 2018 20:40:28 +0200 Subject: [PATCH] kbdfs: ignore first 16 scancodes (number row) in kbtabctl[] for control key reverse mapping --- sys/src/cmd/aux/kbdfs/kbdfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/aux/kbdfs/kbdfs.c b/sys/src/cmd/aux/kbdfs/kbdfs.c index bc69196be..b68e52250 100644 --- a/sys/src/cmd/aux/kbdfs/kbdfs.c +++ b/sys/src/cmd/aux/kbdfs/kbdfs.c @@ -454,7 +454,7 @@ Nextmsg: k.b = 0; k.down = (p[0] == 'r'); for(i=0; i= 16 && kbtabctl[i] == k.r)){ /* assign button from kbtab */ k.b = kbtab[i]; /* handle ^X forms */