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

支持AirPods控制 #59

Closed
wandergis opened this issue Aug 12, 2019 · 4 comments
Closed

支持AirPods控制 #59

wandergis opened this issue Aug 12, 2019 · 4 comments
Labels
connection lost No more response from issue creator enhancement New feature or request

Comments

@wandergis
Copy link

No description provided.

@nondanee nondanee added the enhancement New feature or request label Aug 12, 2019
@nondanee
Copy link
Owner

大概查了下

不知道用 electron 的 globalShortcut 注册过
MediaNextTrack、MediaPreviousTrack、MediaStop 和 MediaPlayPause 可不可以实现
有两个相关的 issue
trazyn/ieaseMusic#351
ilime/Petal#37

如果可以的话就尝试用 iohook 注册快捷键(因为 vscode 不提供 globalShortcut API)

但是我现在既没有 macOS 设备也没有 Airpods......

@nondanee
Copy link
Owner

nondanee commented Nov 9, 2019

麻烦测试一下 vscode 1.40 上 AirPods 控制是否可用?
理论上接了 Media Session API 应该就可以了
谢谢

@nondanee nondanee added the connection lost No more response from issue creator label Nov 11, 2019
@wandergis
Copy link
Author

666 已测试是ok的

@nondanee
Copy link
Owner

好滴👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connection lost No more response from issue creator enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants