qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 2/2] Add more function keys to cocoa.m
@ 2017-07-30 20:29 Programmingkid
  2017-07-31  9:38 ` Daniel P. Berrange
  0 siblings, 1 reply; 2+ messages in thread
From: Programmingkid @ 2017-07-30 20:29 UTC (permalink / raw)
  To: Peter Maydell, Eric Blake, Daniel P. Berrange
  Cc: qemu-devel@nongnu.org qemu-devel

Enable the Cocoa front-end to be able to use function keys F16 to F20.

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
---
 ui/cocoa.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ui/cocoa.m b/ui/cocoa.m
index 93e56d0..edc7a65 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -225,6 +225,11 @@ const int mac_to_qkeycode_map[] = {
     [kVK_F13] = Q_KEY_CODE_PRINT,
     [kVK_F14] = Q_KEY_CODE_SCROLL_LOCK,
     [kVK_F15] = Q_KEY_CODE_PAUSE,
+    [kVK_F16] = Q_KEY_CODE_F16,
+    [kVK_F17] = Q_KEY_CODE_F17,
+    [kVK_F18] = Q_KEY_CODE_F18,
+    [kVK_F19] = Q_KEY_CODE_F19,
+    [kVK_F20] = Q_KEY_CODE_F20

     /*
      * The eject and volume keys can't be used here because they are handled at
-- 
2.7.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH v2 2/2] Add more function keys to cocoa.m
  2017-07-30 20:29 [Qemu-devel] [PATCH v2 2/2] Add more function keys to cocoa.m Programmingkid
@ 2017-07-31  9:38 ` Daniel P. Berrange
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrange @ 2017-07-31  9:38 UTC (permalink / raw)
  To: Programmingkid
  Cc: Peter Maydell, Eric Blake, qemu-devel@nongnu.org qemu-devel

On Sun, Jul 30, 2017 at 04:29:47PM -0400, Programmingkid wrote:
> Enable the Cocoa front-end to be able to use function keys F16 to F20.
> 
> Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
> ---
>  ui/cocoa.m | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>


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 :|

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-31  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 20:29 [Qemu-devel] [PATCH v2 2/2] Add more function keys to cocoa.m Programmingkid
2017-07-31  9:38 ` Daniel P. Berrange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).