Acylation / obsidian-click-clack

Simulates typewriter / mechanical keyboard sounds in Obsidian.
MIT License
13 stars 0 forks source link

苦恼搜狗的拼音不显示在输入框不能用打字音效 / No sound with specified IME activated #3

Open miaoziguan opened 3 months ago

miaoziguan commented 3 months ago

What would you like to be added?

image

Why is this needed?

帮助一位不太方便上git的群友反馈。

Acylation commented 3 months ago

感谢反馈,应该能修。方便的话可以在这个页面,比较一下启用/不用搜狗输入法的时候,记录下来的键盘输入有何不同。刷新页面可以清除输入记录

https://developer.mozilla.org/zh-CN/docs/Web/API/Element/keydown_event

image


Thanks for reporting this and there seems to be a solution. Please test online with the input method activated/deactivated and note down the differences between the logs. https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event


技术参考 / Dev note https://tech.kujiale.com/shu-ru-fa-yu-keydown-shi-jian/ https://www.cnblogs.com/sumsung753/archive/2012/12/16/3821530.html https://zhuanlan.zhihu.com/p/573285317

Acylation commented 3 months ago

设置音效需要先下载额外的音效资源。能连 github 的话可以直接在插件设置页下载,下载好了点音效列表旁边的刷新,应该就可以切换音效了;连不上 github 的话,在 仓库地址/.obsidian/plugins/click-clack/ 路径下,放上解压好的 resources.zip 文件夹,就是 仓库地址/.obsidian/plugins/click-clack/resources/,再刷新音效列表,应该就能识别到了。resources.zip 直接用微信发也行。


If you want to switch to another sound scheme, please download extra resources first. If you can access github releases, then please direct to the plugin's setting tab, and click Download. Then, refresh the sound scheme list after successful download and you can switch to the extra ones. If you need to manually import the resources, please obtain the resources.zip and unzip it to the path [yourvault]/.obsidian/plugins/click-clack/resources. Also after refreshing more options would show up in the scheme list.

miaoziguan commented 3 months ago

image image 佬,这是对比图

Acylation commented 3 months ago

需要 Obsidian 解决一下,看看是不是上游问题。https://forum.obsidian.md/t/sougou-ime-neither-puts-composing-chars-to-editor-nor-triggers-input-or-keydown-events/80422

作为上位替代品,如果不介意全局的打字音效功能,这里推荐一下 Mechvibes,功能比我的插件更加全面完善。


This is possibly an upstream problem with Obsidian, and I've just reported in the forum. Will follow-up with their investigation. https://forum.obsidian.md/t/sougou-ime-neither-puts-composing-chars-to-editor-nor-triggers-input-or-keydown-events/80422

As a more powerful alternate, I would recommand Mechvibes if you don't mind a global typing sound.

miaoziguan commented 3 months ago

感谢🙏佬的贡献