Add USB keyboard type.

This commit is contained in:
augustss 1998-12-30 19:15:11 +00:00
parent 20f51aae57
commit a971be193b
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.c,v 1.3 1998/12/30 13:54:04 augustss Exp $ */
/* $NetBSD: util.c,v 1.4 1998/12/30 19:15:11 augustss Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -60,6 +60,7 @@ static struct nameint kbtype_tab[] = {
{ WSKBD_TYPE_LK401, "lk401" },
{ WSKBD_TYPE_PC_XT, "pc-xt" },
{ WSKBD_TYPE_PC_AT, "pc-at" },
{ WSKBD_TYPE_USB, "usb" },
};
static struct nameint mstype_tab[] = {

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsconsio.h,v 1.10 1998/12/30 13:54:03 augustss Exp $ */
/* $NetBSD: wsconsio.h,v 1.11 1998/12/30 19:15:11 augustss Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -81,6 +81,7 @@ struct wscons_event {
#define WSKBD_TYPE_LK401 2 /* lk-401 */
#define WSKBD_TYPE_PC_XT 3 /* PC-ish, XT scancode */
#define WSKBD_TYPE_PC_AT 4 /* PC-ish, AT scancode */
#define WSKBD_TYPE_USB 5 /* USB, XT scancode */
/* Manipulate the keyboard bell. */
struct wskbd_bell_data {