Add a key symbol for the "Power" key.

This commit is contained in:
martin 2005-06-08 09:11:09 +00:00
parent 3ffd57432b
commit b8aea19a7a
3 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wskbdmap_sun.c,v 1.8 2005/06/01 14:05:25 martin Exp $ */
/* $NetBSD: wskbdmap_sun.c,v 1.9 2005/06/08 09:11:09 martin Exp $ */
/* $OpenBSD: sunkbd.c,v 1.9 2002/09/08 23:22:00 miod Exp $ */
/*
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wskbdmap_sun.c,v 1.8 2005/06/01 14:05:25 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: wskbdmap_sun.c,v 1.9 2005/06/08 09:11:09 martin Exp $");
#include <sys/types.h>
#include <dev/wscons/wsksymdef.h>
@ -98,7 +98,7 @@ static const keysym_t wssun_keydesctab_us [] = {
KC(0x2d), KS_KP_Equal,
KC(0x2e), KS_KP_Divide,
KC(0x2f), KS_KP_Multiply,
/* KC(0x30), KS_Power, */
KC(0x30), KS_Power,
KC(0x31), KS_Front,
KC(0x32), KS_KP_Delete, KS_KP_Decimal,
KC(0x33), KS_Copy,

View File

@ -1,4 +1,4 @@
/* $NetBSD: ukbdmap.c,v 1.14 2005/05/05 22:27:29 abs Exp $ */
/* $NetBSD: ukbdmap.c,v 1.15 2005/06/08 09:11:09 martin Exp $ */
/*
* Copyright (c) 1999,2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ukbdmap.c,v 1.14 2005/05/05 22:27:29 abs Exp $");
__KERNEL_RCSID(0, "$NetBSD: ukbdmap.c,v 1.15 2005/06/08 09:11:09 martin Exp $");
#include <sys/types.h>
#include <dev/wscons/wsksymdef.h>
@ -148,6 +148,8 @@ Static const keysym_t ukbd_keydesc_us[] = {
KC(99), KS_KP_Delete, KS_KP_Decimal,
KC(100), KS_backslash, KS_bar,
KC(101), KS_Menu,
/* ... */
KC(109), KS_Power,
/* ... many unmapped keys ... */
KC(224), KS_Cmd1, KS_Control_L,
KC(225), KS_Shift_L,

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsksymdef.h,v 1.53 2005/04/30 03:47:12 augustss Exp $ */
/* $NetBSD: wsksymdef.h,v 1.54 2005/06/08 09:11:09 martin Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -390,6 +390,8 @@
#define KS_F19 0xf352
#define KS_F20 0xf353
#define KS_Power 0xf36d
#define KS_Home 0xf381
#define KS_Prior 0xf382
#define KS_Next 0xf383