Use keycodes for UWP xbox instead of gamepadtokey.

This commit is contained in:
Bradley Eaton
2025-06-24 13:27:19 +01:00
parent 42c71dcb97
commit a7d443ab23
6 changed files with 73 additions and 3 deletions
+6
View File
@@ -1243,6 +1243,12 @@ 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) {