summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/frontend.c b/frontend.c
index d3716ddf..6ab5967a 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.90 2010-08-25 09:50:15 phintuka Exp $
+ * $Id: frontend.c,v 1.91 2010-11-17 13:58:50 phintuka Exp $
*
*/
@@ -97,6 +97,14 @@ void cXinelibThread::KeypressHandler(const char *keymap, const char *key,
// put key to remote queue
if (key[0]) {
if (!remote->Put(key, repeat, release)) {
+ if (!strcmp(keymap, "KBD")) {
+ uint64_t value = 0;
+ sscanf(key, "%"PRIX64, &value);
+ if (value) {
+ remote->cRemote::Put(KBDKEY(value));
+ return;
+ }
+ }
if (!key[1]) {
remote->cRemote::Put(KBDKEY(key[0]));
}