-
Notifications
You must be signed in to change notification settings - Fork 69
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
uosc新特性的使用疑惑,support for F1-F12 keys to listen for in callback mode menus #996
Comments
我建议你写英文, |
I have modified the code [uosc/elements/Menu.lua] local standalone_keys = {'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12', {'v', 'ctrl'}} |
When I have some time, I'll add a menu API to allow menu creators to specify what shortcuts they want uosc menu to listen on to limit what keys we take over. |
Thankyou a lot!!! |
Please do not force the |
yes i think so |
|
nput.conf 我修改后
F7 script-message-to uosc playlist #menu: 打开 > 播放菜单
F8 script-message-to uosc chapters #menu: 打开 > 章节菜单
F9 script-message-to uosc editions #menu: 打开 > 版本菜单
F10 script-message-to uosc audio #menu: 打开 > 其他音轨
F11 script-message-to uosc subtitles #menu: 打开 > 其他字幕
#F5 script-message-to playlistmanager showplaylist;show-text '' #menu: 导航 > OSD 交互菜单 > 播放列表
#F6 script-message-to adevice_list toggle-adevice-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 音频设备列表
#F7 script-message-to edition_list toggle-edition-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 版本列表
#F8 script-message-to chapter_list toggle-chapter-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 章节列表
#F9 script-message-to track_list toggle-vidtrack-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 视频轨列表
#F10 script-message-to track_list toggle-audtrack-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 音频轨列表
#F11 script-message-to track_list toggle-subtrack-browser;show-text '' #menu: 导航 > OSD 交互菜单 > 字幕轨列表
At this moment, when I am playing the video【这个时候我播放视频的时候】
I can press F7 to bring up the play menu. Press F7 once to close the play menu【我按一下F7 可以调出播放菜单。在按一下F7可以关闭播放菜单】
[mpv_config-2024.08.18] (https://github.com/dyphire/mpv-config/releases/tag/mpv_config-2024.08.18)
【Previous versions could be set in this way】以前的版本都可以这样设置
However, since upgrading mpv-config-2024.09.14, this operation is no longer possible
【但是自从升级mpv_config-2024.09.14以后这样操作就不可以了】 mpv_config-2024.09.14
请问可以恢复到以前那样设置吗?拜托了
F7 F8 F9 F10 F11 Click once to open the interface. One click can close the interface
mpv_config-2024.08.18 以前的版本:
按一下F7 调出播放菜单界面
在一次按一下F7 ,取消播放菜单界面
mpv_config-2024.09.14:新版本更新后,按第二次下F7 无法 取消播放菜单界面
This is due to changes in the characteristics submitted upstream by UOSC: 07a1563,
When the UOSC menu is opened, it will forcibly take over the F1-12 key positions
By using other key positions to bind the menu, the UOSC menu can be opened and closed normally with the same key position.
Can I avoid forcibly taking over the key positions of F1-12?
这是因为 uosc 上游提交的特性变化导致的:07a1563 ,
当 uosc 菜单打开时它会强制接管 F1-12 的键位
改用其他键位绑定菜单即可正常通过同键位开关 uosc 菜单。
可以不要强制接管 F1-12 的键位?
The text was updated successfully, but these errors were encountered: