Module Name:    src
Committed By:   macallan
Date:           Thu Jan 14 02:18:59 UTC 2010

Modified Files:
        src/sys/dev/sun: wskbdmap_sun.c

Log Message:
actually assign audio control command codes to the audio control keys


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/sun/wskbdmap_sun.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/sun/wskbdmap_sun.c
diff -u src/sys/dev/sun/wskbdmap_sun.c:1.16 src/sys/dev/sun/wskbdmap_sun.c:1.17
--- src/sys/dev/sun/wskbdmap_sun.c:1.16	Fri Jan  2 13:09:36 2009
+++ src/sys/dev/sun/wskbdmap_sun.c	Thu Jan 14 02:18:59 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: wskbdmap_sun.c,v 1.16 2009/01/02 13:09:36 jdc Exp $	*/
+/*	$NetBSD: wskbdmap_sun.c,v 1.17 2010/01/14 02:18:59 macallan 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.16 2009/01/02 13:09:36 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wskbdmap_sun.c,v 1.17 2010/01/14 02:18:59 macallan Exp $");
 
 #include <sys/types.h>
 #include <dev/wscons/wsksymdef.h>
@@ -51,9 +51,9 @@
 static const keysym_t wssun_keydesctab_us [] = {
 /*  pos      command			normal		shifted */
     KC(0x01), KS_Cmd,
-    KC(0x02), KS_Cmd_BrightnessDown,
+    KC(0x02), KS_Cmd_VolumeDown,
     KC(0x03),				KS_Again,
-    KC(0x04), KS_Cmd_BrightnessUp,
+    KC(0x04), KS_Cmd_VolumeUp,
     KC(0x05), KS_Cmd_Screen0,				KS_f1,
     KC(0x06), KS_Cmd_Screen1,				KS_f2,
     KC(0x07), KS_Cmd_Screen9,				KS_f10,

Reply via email to