lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: fix up capslock on pc9800
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/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.015 / U:1.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site