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 ...@@ -844,21 +844,19 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
doPlayPause(); doPlayPause();
return true; return true;
case KeyEvent.KEYCODE_V: case KeyEvent.KEYCODE_V:
case KeyEvent.KEYCODE_O:
case KeyEvent.KEYCODE_BUTTON_Y: case KeyEvent.KEYCODE_BUTTON_Y:
selectSubtitles(); showAdvancedOptions(mAdvOptions);
return true; return true;
case KeyEvent.KEYCODE_B: case KeyEvent.KEYCODE_B:
case KeyEvent.KEYCODE_MEDIA_AUDIO_TRACK: case KeyEvent.KEYCODE_MEDIA_AUDIO_TRACK:
case KeyEvent.KEYCODE_BUTTON_B: case KeyEvent.KEYCODE_BUTTON_B:
selectAudioTrack(); onAudioSubClick(mTracks);
return true; return true;
case KeyEvent.KEYCODE_M: case KeyEvent.KEYCODE_M:
case KeyEvent.KEYCODE_MENU: case KeyEvent.KEYCODE_MENU:
showNavMenu(); showNavMenu();
return true; return true;
case KeyEvent.KEYCODE_O:
showAdvancedOptions(null);
return true;
case KeyEvent.KEYCODE_A: case KeyEvent.KEYCODE_A:
resizeVideo(); resizeVideo();
return true; 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