summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-16 17:31:38 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-01-16 17:31:38 +0000
commit7ec1fd3d3ea3ef253c6f37bbf3b6610520d9202f (patch)
tree98a51e22724d453111ef0bd835c4d6c5d0c2f48b /Gui
parentb32b5b31d13978b421dbedb57a23952865c94ce4 (diff)
downloadmpv-7ec1fd3d3ea3ef253c6f37bbf3b6610520d9202f.tar.bz2
mpv-7ec1fd3d3ea3ef253c6f37bbf3b6610520d9202f.tar.xz
Support binding F11 and F12 keys to commands.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11794 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/wm/wskeys.h2
-rw-r--r--Gui/wm/wsmkeys.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/Gui/wm/wskeys.h b/Gui/wm/wskeys.h
index e0a3ff0fd8..bea9ae3baa 100644
--- a/Gui/wm/wskeys.h
+++ b/Gui/wm/wskeys.h
@@ -104,6 +104,8 @@
#define wsF8 0xc5 + 256
#define wsF9 0xc6 + 256
#define wsF10 0xc7 + 256
+#define wsF11 0xc8 + 256
+#define wsF12 0xc9 + 256
#define wsInsert 0x63 + 256
#define wsDelete 0xff + 256
#define wsHome 0x50 + 256
diff --git a/Gui/wm/wsmkeys.h b/Gui/wm/wsmkeys.h
index ae2b5d1d93..6fadb18428 100644
--- a/Gui/wm/wsmkeys.h
+++ b/Gui/wm/wsmkeys.h
@@ -28,6 +28,7 @@ TwsKeyNames wsKeyNames[ wsKeyNumber ] =
{ wsF1, "F1" }, { wsF2, "F2" }, { wsF3, "F3" }, { wsF4, "F4" }, { wsF5, "F5" },
{ wsF6, "F6" }, { wsF7, "F7" }, { wsF8, "F8" }, { wsF9, "F9" }, { wsF10, "F10" },
+ { wsF11, "F11" }, { wsF12, "F12" },
{ wsEnter, "Enter" }, { wsTab, "Tab" }, { wsSpace, "Space" },
{ wsInsert, "Insert" }, { wsDelete, "Delete" }, { wsHome, "Home" },