soffes / HotKey

Simple global shortcuts in macOS
MIT License
921 stars 82 forks source link

.volumeDown & .volumeUp #11

Open Yelles opened 5 years ago

Yelles commented 5 years ago

Hi,

Is this supposed to work with .volumeDown or .volumeUp ?

Your example works fine, but not if I register one of them.

May be any help ?

soffes commented 5 years ago

I'm not sure how to do this. I just added the keys in the Carbon header. Maybe older keyboards that have dedicated keys will work with this?

pkamb commented 5 years ago

I recently saw the following fix applied on a fork of my PowerKey project:

Add 'up event' when firing media keys - Fix next/previous on High Sierra

https://github.com/julienma/PowerKey/commit/2687c38e04900a47fba36b03fc223e9c71b01ae1

Which is possibly the same issue as this. Need to send a Key Up event for these Volume keys?