Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 00:09:43 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362599 - head/sys/dev/evdev
Message-ID:  <202006250009.05P09hUA056675@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006250009.05P09hUA056675>