1
0
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:
9000h 2019-10-28 15:49:03 +01:00 committed by GitHub
parent b83cb6167c
commit 7269e28f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;