summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-04-14 19:33:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-04-14 19:33:47 +0000
commit3295b386cc29400ced9457ccbe26df67ac195e44 (patch)
treecbe0c783a7cd7486e1735e7a59f8da831f00b7f9 /sys/dev
parentd9ac4c99130449fea06f2f1c5ff76759f60b8747 (diff)
Get USB F13 to F24 keys from the PS/2 layout, rather than as extra entries, now.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/makemap.awk28
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/dev/usb/makemap.awk b/sys/dev/usb/makemap.awk
index ece675816ee..911a992919f 100644
--- a/sys/dev/usb/makemap.awk
+++ b/sys/dev/usb/makemap.awk
@@ -1,5 +1,5 @@
#! /usr/bin/awk -f
-# $OpenBSD: makemap.awk,v 1.12 2012/04/03 18:18:41 miod Exp $
+# $OpenBSD: makemap.awk,v 1.13 2013/04/14 19:33:46 miod Exp $
#
# Copyright (c) 2005, Miodrag Vallat
#
@@ -31,7 +31,7 @@
#
BEGIN {
- rcsid = "$OpenBSD: makemap.awk,v 1.12 2012/04/03 18:18:41 miod Exp $"
+ rcsid = "$OpenBSD: makemap.awk,v 1.13 2013/04/14 19:33:46 miod Exp $"
ifdepth = 0
ignore = 0
declk = 0
@@ -129,6 +129,18 @@ BEGIN {
conv[86] = 100
conv[87] = 68
conv[88] = 69
+ conv[91] = 104
+ conv[92] = 105
+ conv[93] = 106
+ conv[99] = 107
+ conv[100] = 108
+ conv[101] = 109
+ conv[102] = 110
+ conv[103] = 111
+ conv[104] = 112
+ conv[105] = 113
+ conv[106] = 114
+ conv[107] = 115
conv[112] = 135
conv[115] = 136
conv[121] = 137
@@ -318,18 +330,6 @@ $1 == "#define" || $1 == "#undef" {
#
if (nmaps++ == 0) {
# 102 Suspend
- lines[104] = " KC(104),\tKS_F13,"
- lines[105] = " KC(105),\tKS_F14,"
- lines[106] = " KC(106),\tKS_F15,"
- lines[107] = " KC(107),\tKS_F16,"
- lines[108] = " KC(108),\tKS_F17,"
- lines[109] = " KC(109),\tKS_F18,"
- lines[110] = " KC(110),\tKS_F19,"
- lines[111] = " KC(111),\tKS_F20,"
- lines[112] = " KC(112),\tKS_F21,"
- lines[113] = " KC(113),\tKS_F22,"
- lines[114] = " KC(114),\tKS_F23,"
- lines[115] = " KC(115),\tKS_F24,"
lines[116] = " KC(116),\tKS_Open,"
lines[117] = " KC(117),\tKS_Help,"
lines[118] = " KC(118),\tKS_Props,"