Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sun actually assign audio control command codes to t...



details:   https://anonhg.NetBSD.org/src/rev/ce9df90488de
branches:  trunk
changeset: 750776:ce9df90488de
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jan 14 02:18:59 2010 +0000

description:
actually assign audio control command codes to the audio control keys

diffstat:

 sys/dev/sun/wskbdmap_sun.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 844fa0fe4c0d -r ce9df90488de sys/dev/sun/wskbdmap_sun.c
--- a/sys/dev/sun/wskbdmap_sun.c        Thu Jan 14 02:09:46 2010 +0000
+++ b/sys/dev/sun/wskbdmap_sun.c        Thu Jan 14 02:18:59 2010 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index