mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Update softhdcuvid.cpp
This commit is contained in:
parent
b83cb6167c
commit
7269e28f9a
@ -2330,7 +2330,6 @@ eOSState cSoftHdMenu::ProcessKey(eKeys key)
|
|||||||
//dsyslog("[softhddev]%s: %x\n", __FUNCTION__, key);
|
//dsyslog("[softhddev]%s: %x\n", __FUNCTION__, key);
|
||||||
|
|
||||||
switch (HotkeyState) {
|
switch (HotkeyState) {
|
||||||
|
|
||||||
case HksInitial: // initial state, waiting for hot key
|
case HksInitial: // initial state, waiting for hot key
|
||||||
if (key == kBlue) {
|
if (key == kBlue) {
|
||||||
HotkeyState = HksBlue; // blue button
|
HotkeyState = HksBlue; // blue button
|
||||||
@ -2365,6 +2364,7 @@ eOSState cSoftHdMenu::ProcessKey(eKeys key)
|
|||||||
return osEnd;
|
return osEnd;
|
||||||
}
|
}
|
||||||
HotkeyState = HksInitial;
|
HotkeyState = HksInitial;
|
||||||
|
break;
|
||||||
case HksRed: // red and first number
|
case HksRed: // red and first number
|
||||||
if (k0 <= key && key <= k9) {
|
if (k0 <= key && key <= k9) {
|
||||||
HotkeyCode = 100 + key - k0;
|
HotkeyCode = 100 + key - k0;
|
||||||
|
Loading…
Reference in New Issue
Block a user