I have a keyboard which, for some inexplicable reason, features a key that sends the Danish Dollar symbol to OS X - §. With shift it sends the plus/minus symbol - ±.
Is it possible within Emacs to see the § key and convert that into Hyper or Super? So if I hold down that § key and press f, it will activate H-f in Emacs.
I've tried the following, which does not work:
(define-key key-translation-map (kbd "§") (kbd "<Hyper>"))
It just says <Hyper> is undefined upon pressing the key, and doesn't act as a modifier at all.
This also doesn't work:
(define-key key-translation-map (kbd "§") "<Hyper>")
that just turns the § key into a <key.