diff options
author | Johns <johns98@gmx.net> | 2012-02-17 16:37:38 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-02-17 16:37:38 +0100 |
commit | 89ca44206cfb755129ddf8b6217d8d76ce6353a1 (patch) | |
tree | b90ea19e6930096d51be0b03121dc5a33a18905a | |
parent | 5c9b85b69b445dfaf7b200efdf1b63d7e6577145 (diff) | |
download | vdr-plugin-softhddevice-89ca44206cfb755129ddf8b6217d8d76ce6353a1.tar.gz vdr-plugin-softhddevice-89ca44206cfb755129ddf8b6217d8d76ce6353a1.tar.bz2 |
Add support to use characters input in edit mode.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | softhddevice.cpp | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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 + } } ////////////////////////////////////////////////////////////////////////////// |