summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-08-29 22:18:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-08-29 22:18:42 +0000
commitf11d97f58984b34cfb00f704b9eee66b64b1d830 (patch)
treeefc61bfe6fea475536f745e1a584d9e34d83836a /sys/dev
parent0875a87ac1686887cf6b440e414afb3bc0cd21d9 (diff)
Define new wscons symbols for the L function keys found on Sun keyboards,
and let the sun layout tables produce them. ok mickey@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sun/sunkbd.c10
-rw-r--r--sys/dev/wscons/wsksymdef.h10
2 files changed, 18 insertions, 2 deletions
diff --git a/sys/dev/sun/sunkbd.c b/sys/dev/sun/sunkbd.c
index 88fe43002e5..54a36d0a8f7 100644
--- a/sys/dev/sun/sunkbd.c
+++ b/sys/dev/sun/sunkbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunkbd.c,v 1.7 2002/08/26 20:42:38 mickey Exp $ */
+/* $OpenBSD: sunkbd.c,v 1.8 2002/08/29 22:18:40 miod Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -53,6 +53,7 @@
const keysym_t sunkbd_keydesc_us[] = {
KC(0x01), KS_Cmd,
KC(0x02), KS_Cmd_BrightnessDown,
+ KC(0x03), KS_Again,
KC(0x04), KS_Cmd_BrightnessUp,
KC(0x05), KS_f1,
KC(0x06), KS_f2,
@@ -73,6 +74,8 @@ const keysym_t sunkbd_keydesc_us[] = {
KC(0x16), KS_Print_Screen,
KC(0x17), KS_Hold_Screen,
KC(0x18), KS_Left,
+ KC(0x19), KS_Props,
+ KC(0x1a), KS_Undo,
KC(0x1b), KS_Down,
KC(0x1c), KS_Right,
KC(0x1d), KS_Escape,
@@ -94,7 +97,9 @@ const keysym_t sunkbd_keydesc_us[] = {
KC(0x2d), KS_KP_Equal,
KC(0x2e), KS_KP_Divide,
KC(0x2f), KS_KP_Multiply,
+ KC(0x31), KS_Front,
KC(0x32), KS_KP_Delete,
+ KC(0x33), KS_Copy,
KC(0x34), KS_Home,
KC(0x35), KS_Tab,
KC(0x36), KS_q,
@@ -115,6 +120,8 @@ const keysym_t sunkbd_keydesc_us[] = {
KC(0x45), KS_KP_Up, KS_KP_8,
KC(0x46), KS_KP_Prior, KS_KP_9,
KC(0x47), KS_KP_Subtract,
+ KC(0x48), KS_Open,
+ KC(0x49), KS_Paste,
KC(0x4a), KS_End,
KC(0x4c), KS_Control_L,
KC(0x4d), KS_Cmd_Debugger, KS_a,
@@ -137,6 +144,7 @@ const keysym_t sunkbd_keydesc_us[] = {
KC(0x5e), KS_KP_Insert, KS_KP_0,
KC(0x5f), KS_Find,
KC(0x60), KS_Prior,
+ KC(0x61), KS_Cut,
KC(0x62), KS_Num_Lock,
KC(0x63), KS_Shift_L,
KC(0x64), KS_z,
diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h
index e541aff969a..a7427e67099 100644
--- a/sys/dev/wscons/wsksymdef.h
+++ b/sys/dev/wscons/wsksymdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsksymdef.h,v 1.20 2002/08/26 21:17:45 mickey Exp $ */
+/* $OpenBSD: wsksymdef.h,v 1.21 2002/08/29 22:18:41 miod Exp $ */
/* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */
/*-
@@ -545,6 +545,14 @@
#define KS_Execute 0xf38b
#define KS_Find 0xf38c
#define KS_Select 0xf38d
+#define KS_Again 0xf38e
+#define KS_Props 0xf38f
+#define KS_Undo 0xf390
+#define KS_Front 0xf391
+#define KS_Copy 0xf392
+#define KS_Open 0xf393
+#define KS_Paste 0xf394
+#define KS_Cut 0xf395
#define KS_Menu 0xf3c0
#define KS_Pause 0xf3c1