summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-20 11:52:11 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-20 11:52:11 +0000
commitd1065dffe100a0bc08868bb630db11dc032c62f4 (patch)
tree6c2a3dc2f6dbedbf6830e66c23b6c31c2adfbdcf /libvo/video_out.h
parent4f3d487e06207bc63644d59d86ad9c04ef7d96bb (diff)
downloadmpv-d1065dffe100a0bc08868bb630db11dc032c62f4.tar.bz2
mpv-d1065dffe100a0bc08868bb630db11dc032c62f4.tar.xz
Add and use a special lookup function to do table-based translation to MPlayer keycodes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28172 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r--libvo/video_out.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 124a4a8476..c34ebd015e 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -251,4 +251,10 @@ extern char *monitor_hfreq_str;
extern char *monitor_vfreq_str;
extern char *monitor_dotclock_str;
+struct keymap {
+ int from;
+ int to;
+};
+int lookup_keymap_table(const struct keymap *map, int key);
+
#endif /* MPLAYER_VIDEO_OUT_H */