diff mbox

[v3,2/2] Add more function keys to cocoa.m

Message ID 20170731194437.4077-3-programmingkidx@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Programmingkid July 31, 2017, 7:44 p.m. UTC
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
---
 ui/cocoa.m | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/ui/cocoa.m b/ui/cocoa.m
index 93e56d0518..edc7a65f7c 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -225,6 +225,11 @@ 
     [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