summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-02-17 16:37:38 +0100
committerJohns <johns98@gmx.net>2012-02-17 16:37:38 +0100
commit89ca44206cfb755129ddf8b6217d8d76ce6353a1 (patch)
treeb90ea19e6930096d51be0b03121dc5a33a18905a
parent5c9b85b69b445dfaf7b200efdf1b63d7e6577145 (diff)
downloadvdr-plugin-softhddevice-89ca44206cfb755129ddf8b6217d8d76ce6353a1.tar.gz
vdr-plugin-softhddevice-89ca44206cfb755129ddf8b6217d8d76ce6353a1.tar.bz2
Add support to use characters input in edit mode.
-rw-r--r--ChangeLog1
-rw-r--r--softhddevice.cpp6
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 38e12cc..f6bdbf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
User johns
Date:
+ Add support to use characters input in edit mode.
Adds trick speed support.
User johns
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 454ab30..dcecd12 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -137,7 +137,11 @@ extern "C" void FeedKeyPress(const char *keymap, const char *key, int repeat,
}
//dsyslog("[softhddev]%s %s, %s\n", __FUNCTION__, keymap, key);
- csoft->Put(key, repeat, release);
+ if (key[1]) { // no single character
+ csoft->Put(key, repeat, release);
+ } else if (!csoft->Put(key, repeat, release)) {
+ cRemote::Put(KBDKEY(key[0])); // feed it for edit mode
+ }
}
//////////////////////////////////////////////////////////////////////////////