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

[Bug]不能运行:M1,macOS12 #3

Open
PabloLION opened this issue Nov 9, 2021 · 2 comments
Open

[Bug]不能运行:M1,macOS12 #3

PabloLION opened this issue Nov 9, 2021 · 2 comments

Comments

@PabloLION
Copy link

我测试在M1,macOS12下,输入fn+逗号键不能输入,。会弹出一个切换输入法的小框。
目前我暂时用caps lock切换中英文。
我看到的结构是调用剪贴板来复制粘贴文本?能不能直接把fn+逗号键组合键映射到 [caps lock,,,capslock] 的按键序列,感觉会简单,且兼容性更强。

@realliyifei
Copy link
Owner

这个项目会污染粘贴板(见README的limitation),我忘记了当时细节,但按照逻辑我应该是先尝试了但没找到直接映射的方法,后来才不得已用粘贴板。

@PabloLION
Copy link
Author

我感觉技术上有一定难度。我刚才尝试了输入感叹号!的情况,在按下shift时,capslock的按下事件不会触发中/英 切换。因此可能要模拟弹起shift之后,切换capslock,再按下shift。切换回来的时候也一样麻烦。而且在某些网页/App中,按下shift可能会触发一些预期之外的情况。我还没什么好的解决办法,就暂时放弃了。

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