Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Overlay for all Apple PowerBook keymaps, to support the spec...
details: https://anonhg.NetBSD.org/src/rev/f4b7ccd5a790
branches: trunk
changeset: 759205:f4b7ccd5a790
user: phx <phx%NetBSD.org@localhost>
date: Wed Dec 01 17:48:04 2010 +0000
description:
Overlay for all Apple PowerBook keymaps, to support the special function
keys for brightness-, volume-control, num-lock, etc.
To be loaded via /etc/wscons.conf.
diffstat:
distrib/sets/lists/base/md.macppc | 3 ++-
share/wscons/keymaps/Makefile | 3 ++-
share/wscons/keymaps/ukbd.any.powerbook | 11 +++++++++++
3 files changed, 15 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r acd32b4abbd7 -r f4b7ccd5a790 distrib/sets/lists/base/md.macppc
--- a/distrib/sets/lists/base/md.macppc Wed Dec 01 17:40:08 2010 +0000
+++ b/distrib/sets/lists/base/md.macppc Wed Dec 01 17:48:04 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.macppc,v 1.28 2009/11/27 15:37:32 tsutsui Exp $
+# $NetBSD: md.macppc,v 1.29 2010/12/01 17:48:04 phx Exp $
./sbin/pdisk base-sysutil-root
./usr/mdec/bootxx base-sysutil-bin
./usr/mdec/installboot base-obsolete obsolete
@@ -11,3 +11,4 @@
./usr/sbin/zzz base-sysutil-bin
./usr/sbin/eeprom base-sysutil-bin
./usr/sbin/ofctl base-sysutil-bin
+./usr/share/wscons/keymaps/ukbd.any.powerbook base-util-share
diff -r acd32b4abbd7 -r f4b7ccd5a790 share/wscons/keymaps/Makefile
--- a/share/wscons/keymaps/Makefile Wed Dec 01 17:40:08 2010 +0000
+++ b/share/wscons/keymaps/Makefile Wed Dec 01 17:48:04 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/01/30 23:12:16 ghen Exp $
+# $NetBSD: Makefile,v 1.16 2010/12/01 17:48:04 phx Exp $
NOOBJ= # defined
@@ -14,6 +14,7 @@
pckbd.ru.koi8-r \
pckbd.sv.svascii \
ukbd.be.azerty \
+ ukbd.any.powerbook
FILESDIR= /usr/share/wscons/keymaps
diff -r acd32b4abbd7 -r f4b7ccd5a790 share/wscons/keymaps/ukbd.any.powerbook
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/wscons/keymaps/ukbd.any.powerbook Wed Dec 01 17:48:04 2010 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: ukbd.any.powerbook,v 1.1 2010/12/01 17:48:04 phx Exp $
+#
+# This is an overlay for Apple PowerBook keymaps, to support the
+# NumLock key and the function keys for brightness and volume control.
+#
+keycode 209 = Cmd Cmd_BrightnessDown
+keycode 210 = Cmd Cmd_BrightnessUp
+keycode 211 = Cmd_VolumeToggle
+keycode 212 = Cmd_VolumeDown
+keycode 213 = Cmd_VolumeUp
+keycode 214 = Num_Lock
Home |
Main Index |
Thread Index |
Old Index