summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-04-14 19:32:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-04-14 19:32:53 +0000
commitd9ac4c99130449fea06f2f1c5ff76759f60b8747 (patch)
treeb259a20d2497b67a9922217be5163e35af412113 /sys
parent6c709299573048fcec3727ed85cd55a829477397 (diff)
Support for F13-F24 keys found on IBM 122-key keyboards.
From "Creamy" on tech@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pckbc/wskbdmap_mfii.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c
index a674d1be681..0acb1d5642b 100644
--- a/sys/dev/pckbc/wskbdmap_mfii.c
+++ b/sys/dev/pckbc/wskbdmap_mfii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbdmap_mfii.c,v 1.42 2011/04/05 19:12:13 miod Exp $ */
+/* $OpenBSD: wskbdmap_mfii.c,v 1.43 2013/04/14 19:32:52 miod Exp $ */
/* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */
/*
@@ -130,6 +130,18 @@ static const keysym_t pckbd_keydesc_us[] = {
KC(83), KS_KP_Delete, KS_KP_Decimal,
KC(87), KS_Cmd_Screen10, KS_f11,
KC(88), KS_Cmd_Screen11, KS_f12,
+ KC(91), KS_f13,
+ KC(92), KS_f14,
+ KC(93), KS_f15,
+ KC(99), KS_f16,
+ KC(100), KS_f17,
+ KC(101), KS_f18,
+ KC(102), KS_f19,
+ KC(103), KS_f20,
+ KC(104), KS_f21,
+ KC(105), KS_f22,
+ KC(106), KS_f23,
+ KC(107), KS_f24,
KC(127), KS_Pause, /* Break */
KC(156), KS_KP_Enter,
KC(157), KS_Cmd1, KS_Control_R,