zskbd_keydesctab -> lkkbd_keydesctab

This commit is contained in:
ad 2002-03-13 15:21:30 +00:00
parent 690cf19e33
commit 0cf4c60b83
4 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dzkbd.c,v 1.5 2002/02/25 14:58:08 ad Exp $ */
/* $NetBSD: dzkbd.c,v 1.6 2002/03/13 15:21:30 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dzkbd.c,v 1.5 2002/02/25 14:58:08 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: dzkbd.c,v 1.6 2002/03/13 15:21:30 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -122,7 +122,7 @@ const struct wskbd_consops dzkbd_consops = {
static int dzkbd_sendchar __P((void *, u_char));
const struct wskbd_mapdata dzkbd_keymapdata = {
zskbd_keydesctab,
lkkbd_keydesctab,
#ifdef DZKBD_LAYOUT
DZKBD_LAYOUT,
#else

View File

@ -1,7 +1,7 @@
/* $NetBSD: wskbdmap_lk201.c,v 1.5 2001/11/13 12:49:45 lukem Exp $ */
/* $NetBSD: wskbdmap_lk201.c,v 1.6 2002/03/13 15:21:30 ad Exp $ */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wskbdmap_lk201.c,v 1.5 2001/11/13 12:49:45 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: wskbdmap_lk201.c,v 1.6 2002/03/13 15:21:30 ad Exp $");
#include <sys/types.h>
#include <dev/wscons/wsksymdef.h>
@ -10,7 +10,7 @@ __KERNEL_RCSID(0, "$NetBSD: wskbdmap_lk201.c,v 1.5 2001/11/13 12:49:45 lukem Exp
#define KC(n) KS_KEYCODE((n) - MIN_LK201_KEY)
static const keysym_t zskbd_keydesc_us[] = {
static const keysym_t lkkbd_keydesc_us[] = {
/* pos command normal shifted */
KC(86), KS_Cmd_Screen0, KS_f1,
KC(87), KS_Cmd_Screen1, KS_f2,
@ -118,7 +118,7 @@ static const keysym_t zskbd_keydesc_us[] = {
KC(251), KS_apostrophe, KS_quotedbl,
};
static const keysym_t zskbd_keydesc_us_lk401[] = {
static const keysym_t lkkbd_keydesc_us_lk401[] = {
KC(171), KS_Shift_R,
KC(172), KS_Cmd2, KS_Alt_L,
KC(173), KS_Multi_key, /* right compose */
@ -129,9 +129,9 @@ static const keysym_t zskbd_keydesc_us_lk401[] = {
#define KBD_MAP(name, base, map) \
{ name, base, sizeof(map)/sizeof(keysym_t), map }
const struct wscons_keydesc zskbd_keydesctab[] = {
KBD_MAP(KB_US, 0, zskbd_keydesc_us),
KBD_MAP(KB_US | KB_LK401, KB_US, zskbd_keydesc_us_lk401),
const struct wscons_keydesc lkkbd_keydesctab[] = {
KBD_MAP(KB_US, 0, lkkbd_keydesc_us),
KBD_MAP(KB_US | KB_LK401, KB_US, lkkbd_keydesc_us_lk401),
{0, 0, 0, 0}
};

View File

@ -1,6 +1,6 @@
/* $NetBSD: wskbdmap_lk201.h,v 1.2 1998/09/17 19:59:30 drochner Exp $ */
/* $NetBSD: wskbdmap_lk201.h,v 1.3 2002/03/13 15:22:51 ad Exp $ */
#define MIN_LK201_KEY 86
#define MAX_LK201_KEY 251
extern const struct wscons_keydesc zskbd_keydesctab[];
extern const struct wscons_keydesc lkkbd_keydesctab[];

View File

@ -1,4 +1,4 @@
/* $NetBSD: zskbd.c,v 1.3 2001/11/13 06:26:10 lukem Exp $ */
/* $NetBSD: zskbd.c,v 1.4 2002/03/13 15:21:31 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zskbd.c,v 1.3 2001/11/13 06:26:10 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: zskbd.c,v 1.4 2002/03/13 15:21:31 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -152,7 +152,7 @@ const struct wskbd_consops zskbd_consops = {
static int zskbd_sendchar __P((void *, u_char));
const struct wskbd_mapdata zskbd_keymapdata = {
zskbd_keydesctab,
lkkbd_keydesctab,
#ifdef ZSKBD_LAYOUT
ZSKBD_LAYOUT,
#else