aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc_keysym.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-07-26 17:29:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-07-27 14:23:09 +0200
commitd52a1a9102a4236dfbc7c95b3c7057f107dbf71d (patch)
tree9bf3bfd088d18af27cd7be17979205db4e848bd3 /ui/vnc_keysym.h
parent522fd24ca030c27c591dafedd65c1dfd51e40450 (diff)
ui: add next and prior keysyms
Page-up and Page-down were renamed. Add the names to the keysym list so we can parse both old and new names. The keypad versions are already present in the vnc map. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170726152918.11995-2-kraxel@redhat.com
Diffstat (limited to 'ui/vnc_keysym.h')
-rw-r--r--ui/vnc_keysym.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
index 7fa2bc1f1c..e8a2ec73c5 100644
--- a/ui/vnc_keysym.h
+++ b/ui/vnc_keysym.h
@@ -254,7 +254,9 @@ static const name2keysym_t name2keysym[]={
{"Left", 0xff51}, /* XK_Left */
{"Up", 0xff52}, /* XK_Up */
{"Down", 0xff54}, /* XK_Down */
+{"Next", 0xff56},
{"Page_Down", 0xff56}, /* XK_Page_Down */
+{"Prior", 0xff55},
{"Page_Up", 0xff55}, /* XK_Page_Up */
{"Insert", 0xff63}, /* XK_Insert */
{"Delete", 0xffff}, /* XK_Delete */