svn commit: r362599 - head/sys/dev/evdev

Vladimir Kondratyev wulf at FreeBSD.org
Thu Jun 25 00:09:43 UTC 2020


Author: wulf
Date: Thu Jun 25 00:09:43 2020
New Revision: 362599
URL: https://svnweb.freebsd.org/changeset/base/362599

Log:
  atkbd/evdev: recognize the Chromebook menu key as F13 like Linux does.
  
  This is the key on the right side of the function keys, with the
  "hamburger menu" icon on it.
  
  Submitted by:		GregV <greg at unrelenting.technology>
  MFC after:		1 week
  Differential Revision:	https://reviews.freebsd.org/D25390

Modified:
  head/sys/dev/evdev/evdev_utils.c

Modified: head/sys/dev/evdev/evdev_utils.c
==============================================================================
--- head/sys/dev/evdev/evdev_utils.c	Thu Jun 25 00:01:24 2020	(r362598)
+++ head/sys/dev/evdev/evdev_utils.c	Thu Jun 25 00:09:43 2020	(r362599)
@@ -140,7 +140,7 @@ static uint16_t evdev_at_set1_scancodes[] = {
 	KEY_KP2,	KEY_KP3,	KEY_KP0,	KEY_KPDOT,
 	NONE,		NONE,		KEY_102ND,	KEY_F11,
 	KEY_F12,	NONE,		NONE,		NONE,
-	NONE,		NONE,		NONE,		NONE,
+	NONE,		KEY_F13,	NONE,		NONE,
 	/* 0x60 - 0x7f */
 	NONE,		NONE,		NONE,		NONE,
 	NONE,		NONE,		NONE,		NONE,


More information about the svn-src-all mailing list