PATCH: fix up capslock on pc9800

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 07 2003 - 19:16:33 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/drivers/input/keyboard/98kbd.c linux-2.5.67-ac1/drivers/input/keyboard/98kbd.c
--- linux-2.5.67/drivers/input/keyboard/98kbd.c 2003-03-26 19:59:51.000000000 +0000
+++ linux-2.5.67-ac1/drivers/input/keyboard/98kbd.c 2003-04-03 23:41:43.000000000 +0100
@@ -189,6 +189,13 @@
                         input_sync(&kbd98->dev);
                         return;
 
+ case KEY_CAPSLOCK:
+ input_report_key(&kbd98->dev, keycode, 1);
+ input_sync(&kbd98->dev);
+ input_report_key(&kbd98->dev, keycode, 0);
+ input_sync(&kbd98->dev);
+ return;
+
                 case KBD98_KEY_NULL:
                         return;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:33 EST