Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use touch control for looking around on Android #26

Open
billfang235 opened this issue Sep 1, 2023 · 2 comments
Open

Use touch control for looking around on Android #26

billfang235 opened this issue Sep 1, 2023 · 2 comments

Comments

@billfang235
Copy link

I import this script in my mpv-android and it seems like everything is going well with the default options. However, looking around is not working as it is set to mouse_move in the original configure file. Is it possible to change the setting to use touch control to look around on Android?

@dfaker
Copy link
Owner

dfaker commented Sep 1, 2023

I'm not sure what the touch events look like but I'll take a look.

@billfang235
Copy link
Author

Thank you!
I put the script in Download/mpv-scripts folder and the mpv.conf is like

script="/storage/emulated/0/Download/mpv-scripts/360plugin.lua"
script-opts="360plugin-enabled=yes,360plugin-cycle_input=1,360plugin-cycle_output=2,360plugin-roll_left=u,360plugin-roll_right=o,360plugin-write_log=w,360plugin-pitch_up=i,360plugin-pitch_down=k,360plugin-yaw_up=l,360plugin-yaw_down=j,360plugin-easy_crop=c,360plugin-res_up=y,360plugin-res_down=h,360plugin-zoom_in==,360plugin-zoom_out=-,360plugin-wzoom_out=WHEEL_DOWN,360plugin-wzoom_in=WHEEL_UP,360plugin-reset_view=TAB,360plugin-switch_stereo=r,360plugin-switch_eye=t,360plugin-switch_scaler=e,360plugin-toggle_smooth=g,360plugin-switch_bounds=b,360plugin-new_log_session=n,360plugin-grab_mouse=mouse_btn0,360plugin-mouse_pan=mouse_move,360plugin-show_help=?,360plugin-toggle_vr360=v,360plugin-osc=no,360plugin-fullscreen=yes,360plugin-osd-font-size=30"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants