summaryrefslogtreecommitdiff
diff options
context:
space:
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
+ }
}
//////////////////////////////////////////////////////////////////////////////