Commit 4ae4b362 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Key bindings for new player

parent f3d024aa
......@@ -844,21 +844,19 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
doPlayPause();
return true;
case KeyEvent.KEYCODE_V:
case KeyEvent.KEYCODE_O:
case KeyEvent.KEYCODE_BUTTON_Y:
selectSubtitles();
showAdvancedOptions(mAdvOptions);
return true;
case KeyEvent.KEYCODE_B:
case KeyEvent.KEYCODE_MEDIA_AUDIO_TRACK:
case KeyEvent.KEYCODE_BUTTON_B:
selectAudioTrack();
onAudioSubClick(mTracks);
return true;
case KeyEvent.KEYCODE_M:
case KeyEvent.KEYCODE_MENU:
showNavMenu();
return true;
case KeyEvent.KEYCODE_O:
showAdvancedOptions(null);
return true;
case KeyEvent.KEYCODE_A:
resizeVideo();
return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment