summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp6
1 files changed, 5 insertions, 1 deletions
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
+ }
}
//////////////////////////////////////////////////////////////////////////////