summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-11-02 19:47:50 +0000
committertobhe <tobhe@openbsd.org>2020-11-02 19:47:50 +0000
commit9097528343636ab2b445175a85a88a6a1f77de0d (patch)
tree5f97cd42aca220d86d5865a615601e7cfad6f2bb
parentEnable brightness keys on powerbooks where the keyboard attaches as ukbd(4). (diff)
downloadwireguard-openbsd-9097528343636ab2b445175a85a88a6a1f77de0d.tar.xz
wireguard-openbsd-9097528343636ab2b445175a85a88a6a1f77de0d.zip
sync
-rw-r--r--sys/dev/usb/ukbdmap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/ukbdmap.c b/sys/dev/usb/ukbdmap.c
index b265df8967a..040e3dc08fa 100644
--- a/sys/dev/usb/ukbdmap.c
+++ b/sys/dev/usb/ukbdmap.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: ukbdmap.c,v 1.44 2019/05/11 14:20:17 abieber Exp $ */
+/* $OpenBSD: ukbdmap.c,v 1.45 2020/11/02 19:47:50 tobhe Exp $ */
/*
* THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT.
*
* generated by:
- * OpenBSD: makemap.awk,v 1.14 2013/11/20 17:27:32 miod Exp
+ * OpenBSD: makemap.awk,v 1.15 2020/11/02 19:45:18 tobhe Exp
* generated from:
*/
/* OpenBSD: wskbdmap_mfii.c,v 1.46 2019/05/11 14:19:16 abieber Exp */
@@ -185,6 +185,8 @@ static const keysym_t ukbd_keydesc_us[] = {
KC(229), KS_Shift_R,
KC(230), KS_Cmd2, KS_Alt_R, KS_Multi_key,
KC(231), KS_Meta_R,
+ KC(232), KS_Cmd_BrightnessUp,
+ KC(233), KS_Cmd_BrightnessDown,
};
#if !defined(WSKBD_NO_INTL_LAYOUTS)