Use keyboard key names for navigation on controller.

This commit is contained in:
Bradley Eaton
2025-06-30 16:07:37 +01:00
parent a7d443ab23
commit eff4ca2f19
5 changed files with 20 additions and 56 deletions
-6
View File
@@ -1243,12 +1243,6 @@ export default function (view) {
if (layoutManager.tv && !currentVisibleMenu) {
// Change the behavior of some keys when the OSD is hidden
switch (key) {
case 'NavigationLeft':
case 'NavigationRight':
case 'GamepadLeftThumbLeft':
case 'GamepadLeftThumbRight':
case 'GamepadDPadLeft':
case 'GamepadDPadRight':
case 'ArrowLeft':
case 'ArrowRight':
if (!e.shiftKey) {