Backport pull request #4274 from jellyfin/release-10.8.z
Fix back action on Hisense TV Original-merge: 0ff86d9ea026ece61ab07846e99ff4d23b235405 Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
4ee51ff12e
commit
0eb393dc4b
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
* @module components/input/keyboardnavigation
|
||||
*/
|
||||
|
||||
import browser from './browser';
|
||||
import inputManager from './inputManager';
|
||||
import layoutManager from '../components/layoutManager';
|
||||
import appSettings from './settings/appSettings';
|
||||
|
@ -120,6 +121,15 @@ export function enable() {
|
|||
inputManager.handleCommand('back');
|
||||
break;
|
||||
|
||||
// HACK: Hisense TV (VIDAA OS) uses Backspace for Back action
|
||||
case 'Backspace':
|
||||
if (browser.tv && browser.hisense && browser.vidaa) {
|
||||
inputManager.handleCommand('back');
|
||||
} else {
|
||||
capture = false;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'Escape':
|
||||
if (layoutManager.tv) {
|
||||
inputManager.handleCommand('back');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue