Open laodaoxp opened 2 months ago
我建议你写英文, 既然是向原开发者报错,不要制造不必要的麻烦。
I have modified the code [uosc/elements/Menu.lua] 我把代码[uosc/elements/Menu.lua 修改了
local standalone_keys = {'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12', {'v', 'ctrl'}} local standalone_keys = {'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f12', {'v', 'ctrl'}} 目前使用正常 Currently in normal use
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.
当我有时间时,我将添加一个菜单 API,以允许菜单创建者指定他们使用 uosc 菜单监听的快捷方式,以限制我们接管的键。
Thankyou a lot!!!
Please do not force the F1~F12
keys to be used for UOSC key binding, because many users have already used the F1~F12
keys for other function bindings of mpv.
Please do not force the
F1~F12
keys to be used for UOSC key binding, because many users have already used theF1~F12
keys for other function bindings of mpv.
yes i think so
当我有时间时,我将添加一个菜单 API,以允许菜单创建者指定他们希望 uosc 菜单侦听的快捷方式,以限制我们接管的键。 Hello in development, where did you start implementing this project? Please don't forget. Please, please, please, please, please, please, please, please, please, please
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 上游提交的特性变化导致的:https://github.com/tomasklaen/uosc/commit/07a1563 , 当 uosc 菜单打开时它会强制接管 F1-12 的键位 改用其他键位绑定菜单即可正常通过同键位开关 uosc 菜单。 可以不要强制接管 F1-12 的键位?