Skip to content

Commit

Permalink
Merge pull request #5955 from mprasil/master
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Sep 20, 2024
2 parents 576dcd8 + fd18c3e commit c2aca25
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/scripts/keyboardNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const KeyNames = {
/**
* Keys used for keyboard navigation.
*/
const NavigationKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
const NavigationKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'BrowserHome', 'Find'];

/**
* Keys used for media playback control.
Expand Down Expand Up @@ -185,6 +185,13 @@ export function enable() {
}
break;

case 'Find':
inputManager.handleCommand('search');
break;
case 'BrowserHome':
inputManager.handleCommand('home');
break;

case 'MediaPlay':
inputManager.handleCommand('play');
break;
Expand Down

0 comments on commit c2aca25

Please sign in to comment.