简体   繁体   English

扩展浏览器以处理Apple键盘事件

[英]Extend browsers to handle Apple keyboard events

Is there any way to extend browsers (eg, Google Chrome) to handle input events from non-standard keyboards? 有什么方法可以扩展浏览器(例如Google Chrome)以处理来自非标准键盘的输入事件? Consider an Apple keyboard, there are special keys like Play/Pause (usually on F8 ). 考虑一下Apple键盘,其中有一些特殊键,例如Play / Pause(播放/暂停)(通常在F8上 )。 Can we capture inputs from those keys? 我们可以从这些键中捕获输入吗?

Similar question here: Capture media key events in a browser 这里有类似的问题: 在浏览器中捕获媒体键事件

These keys do not fire events in browsers, but there is an extension for Chrome which seems to add this functionality: http://smus.com/chrome-media-keys/ 这些键不会在浏览器中触发事件,但是Chrome的扩展程序似乎添加了此功能: http : //smus.com/chrome-media-keys/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM