Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Tweak comment about keyboard mapping.
details: https://anonhg.NetBSD.org/src/rev/cbc71b91317c
branches: trunk
changeset: 751951:cbc71b91317c
user: sborrill <sborrill%NetBSD.org@localhost>
date: Tue Feb 09 16:01:17 2010 +0000
description:
Tweak comment about keyboard mapping.
diffstat:
sys/dev/usb/ukbd.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r ce7f97286969 -r cbc71b91317c sys/dev/usb/ukbd.c
--- a/sys/dev/usb/ukbd.c Tue Feb 09 14:25:39 2010 +0000
+++ b/sys/dev/usb/ukbd.c Tue Feb 09 16:01:17 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ukbd.c,v 1.106 2010/01/11 00:18:26 pooka Exp $ */
+/* $NetBSD: ukbd.c,v 1.107 2010/02/09 16:01:17 sborrill Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.106 2010/01/11 00:18:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ukbd.c,v 1.107 2010/02/09 16:01:17 sborrill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -100,8 +100,10 @@
*
* See http://www.microsoft.com/whdc/archive/scancode.mspx
*
- * Note: a real pckbd(4) has more complexity in it's
+ * Note: a real pckbd(4) has more complexity in its
* protocol for some keys than this translation implements.
+ * For example, some keys generate Fake ShiftL events (e0 2a)
+ * before the actual key sequence.
*/
Static const u_int8_t ukbd_trtab[256] = {
NN, NN, NN, NN, 0x1e, 0x30, 0x2e, 0x20, /* 00 - 07 */
Home |
Main Index |
Thread Index |
Old Index