How to bind pause/break key? #2905
-
Is it currently impossible to bind something to the pause/break key in Hammerspoon? I don't see it listed here (unless I'm missing a non-obvious name): https://www.hammerspoon.org/docs/hs.keycodes.html#map |
Beta Was this translation helpful? Give feedback.
Answered by
literallyjustroy
Jan 11, 2022
Replies: 2 comments 1 reply
-
The Pause key on my keyboard (Logitech G915) emits F15 when pressed on MacOS. So the following works for me: hs.hotkey.bind(nil, "F15", function()
hs.alert.show("Hello World!")
end) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
liamjones
-
See #3350 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Pause key on my keyboard (Logitech G915) emits F15 when pressed on MacOS.
So the following works for me: