Closed sheijk closed 5 years ago
That keycode isn't currently supported by the keycodes module. I have a patch available, from fixing it in Hammerspoon's keycodes module. The diff ought to apply cleanly to Mjolnir's keycodes module :)
https://github.com/Hammerspoon/hammerspoon/commit/07baa13daf37a5df9b8329777e5a3ef21647915f
@sheijk The hotkey.bind
function was designed so that you specify exactly what key your keyboard shows. Most keyboards don't have a key dedicated to the "§" character, instead relying on combinations of keys being pressed to get this. You'd write those instead. For example, if you had to press Option + S to print "§", then you'd use {"alt"} as the mods and "s" as the key in the bind
function.
@sheijk Alternatively you can use @cmsj's app or just apply his patch to Mjolnir, either one. He's apparently on top of it.
@Sdegutis (US ISO Mac keyboards, and many international Mac keyboards, do have a key for that, weirdly!)
Cool. So what is the relation of mjolnir and hammerspoon? The history looks like development moved to the latter or is it a complete fork? The FAQ and sites etc. seems to be quite shy about the issue..
@sheijk Some people strongly objected to many aspects of Mjolnir and its maintainer (me), and decided to take it upon themselves to fix these things. Thus Hammerspoon was born.
@sheijk Also, due to the nature of Mjolnir, development on the core app is no longer necessary, as all new features can be added via external modules or "plugins". That's why development looks to have halted when in fact it continues within the community.
The following code causes an error:
error message:
Happens with other modifier keys (alt, ctrl, combinations of them) as well. The problem seems to be the "§" key (left to 1 on US international keyboard layout.