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

supplement Switcher method: process_key #370

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

Magician62011
Copy link
Contributor

补充了一个Switcher的method,借助此method,就可以通过编写lua processor,在小狼毫里实现horizontal横竖界面的快速切换了。请大佬帮忙Merge一下,感谢~
顺道感谢一下大佬开发的lua插件~😊️

@Magician62011
Copy link
Contributor Author

Magician62011 commented Oct 14, 2024

实现动态横竖切换

horizontal_switch_sample_recording_20241013.mp4

若使用engine:process_key发送hotkey打开开关界面则会造成不再进入processor导致后续无法处理
故需使用swithcer的process_key方法
实现lua脚本:horizontal_switch.lua

@hchunhui hchunhui merged commit 0960d99 into hchunhui:master Oct 27, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants