summaryrefslogtreecommitdiff
path: root/sys/dev/sun
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/sun
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/sun')
-rw-r--r--sys/dev/sun/sunkbd.c10
1 files changed, 9 insertions, 1 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,