I'd like to change the right control key along into a "super" modifier and right alt key into the "alt" modifier (not the Meta) in Solaris and Linux (as I know how to do that in Windows using AutoHotKey). I know how to do this:
(define-key local-function-key-map (kbd "<rwindow>") 'event-apply-super-modifier
But I don't know how to specify the right control key or right alt key (which are more convenient to type than the Windows keys). If that can be done straight in emacs (and avoid AutoHotKey in Windows as well) that would be great. Otherwise I'd like to know what can achieve in Solaris and Linux the same think that AutoHotKey does.