mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Add support to use characters input in edit mode.
This commit is contained in:
parent
5c9b85b69b
commit
89ca44206c
@ -1,6 +1,7 @@
|
|||||||
User johns
|
User johns
|
||||||
Date:
|
Date:
|
||||||
|
|
||||||
|
Add support to use characters input in edit mode.
|
||||||
Adds trick speed support.
|
Adds trick speed support.
|
||||||
|
|
||||||
User johns
|
User johns
|
||||||
|
@ -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);
|
//dsyslog("[softhddev]%s %s, %s\n", __FUNCTION__, keymap, key);
|
||||||
|
if (key[1]) { // no single character
|
||||||
csoft->Put(key, repeat, release);
|
csoft->Put(key, repeat, release);
|
||||||
|
} else if (!csoft->Put(key, repeat, release)) {
|
||||||
|
cRemote::Put(KBDKEY(key[0])); // feed it for edit mode
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user