Received: from eggs.gnu.org ([2001:4830:134:3::10]:53570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dakBz-0005WV-KJ for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:55:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dakBv-00062i-Ns for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:55:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34494) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dakBv-0005yM-I8 for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:55:07 -0400 Date: Thu, 27 Jul 2017 15:54:48 +0100 From: "Daniel P. Berrange" Message-ID: <20170727145448.GV2555@redhat.com> Reply-To: "Daniel P. Berrange" References: <1920BE03-56F6-4E44-B9D2-0638A86FACB2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1920BE03-56F6-4E44-B9D2-0638A86FACB2@gmail.com> Subject: Re: [Qemu-devel] [PATCH 1/2] Add more function keys to QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: Peter Maydell , Markus Armbruster , Eric Blake , "qemu-devel@nongnu.org qemu-devel" On Thu, Jul 27, 2017 at 10:51:33AM -0400, Programmingkid wrote: > There are now keyboards that have 19 function keys. This patch extends > QEMU so these function keys can be used. > > Signed-off-by: John Arbuckle > --- > qapi-schema.json | 6 +++++- > ui/input-keymap.c | 4 ++++ > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/qapi-schema.json b/qapi-schema.json > index 9c6c3e1..a051820 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -4842,6 +4842,10 @@ > # @hiragana: since 2.9 > # @henkan: since 2.9 > # @yen: since 2.9 > +# @f16: since 2.10 > +# @f17: since 2.10 > +# @f18: since 2.10 > +# @f19: since 2.10 > # > # Since: 1.3.0 > # > @@ -4864,7 +4868,7 @@ > 'props', 'undo', 'front', 'copy', 'open', 'paste', 'find', 'cut', > 'lf', 'help', 'meta_l', 'meta_r', 'compose', 'pause', > 'ro', 'hiragana', 'henkan', 'yen', > - 'kp_comma', 'kp_equals', 'power' ] } > + 'kp_comma', 'kp_equals', 'power', 'f16', 'f17', 'f18', 'f19'] } Linux and AT set 1 go all the way to F24, and OS-X goes to F20, so don't arbitrarily stop short at F19 Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|