diff options
| author | phintuka <phintuka> | 2006-10-18 08:41:08 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2006-10-18 08:41:08 +0000 |
| commit | e14f497b7f0fde260a5f520abb2f0fcb4fd07341 (patch) | |
| tree | 02ee95024cbe50f8648fcf8a465987c0b00bd1b8 /frontend_local.c | |
| parent | d1002a5c1cb9f71a7bd300100858ce6094e7eaeb (diff) | |
| download | xineliboutput-e14f497b7f0fde260a5f520abb2f0fcb4fd07341.tar.gz xineliboutput-e14f497b7f0fde260a5f520abb2f0fcb4fd07341.tar.bz2 | |
Track map info routing
Diffstat (limited to 'frontend_local.c')
| -rw-r--r-- | frontend_local.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/frontend_local.c b/frontend_local.c index c3e523ed..0d5268c2 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.11 2006-09-20 05:47:52 phintuka Exp $ + * $Id: frontend_local.c,v 1.12 2006-10-18 08:41:08 phintuka Exp $ * */ @@ -220,13 +220,21 @@ int cXinelibLocal::Xine_Control(const char *cmd) extern "C" { static void keypress_handler(const char *keymap, const char *key) { - if(!xc.use_x_keyboard || !key) { + if(!strncmp("TRACKMAP", keymap, 8)) { + + cXinelibThread::InfoHandler(keymap); + + } else if(!xc.use_x_keyboard || !key) { + /* Only X11 key events came this way in local mode. Keyboard is handled by vdr. */ LOGMSG("keypress_handler(%s): X11 Keyboard disabled in config", key); - return; + + } else { + + cXinelibThread::KeypressHandler(keymap, key, false, false); + } - cXinelibThread::KeypressHandler(keymap, key, false, false); } }; |
