First, Salem works more like most other MMOs, and not like MOBAs. MOBAs are more like RTS/FPS games in that major actions have keys mapped directly to that action. In typical MMOs, actions need to be placed on a bar of hotkeys before it can be easily accessed, mostly due to the sheer volume of variety needed. Salem went with a combination of the "Starcraft menu" (typical of RTS games, term used by the original game devs) and a button bar so that commonly used commands could be easily mapped to '1'-'0'. (More keys if you use a modded client). You also have up to 10 different bar layouts available at a time, so it is possible to swap to a bar and press a key with a single click or combination of clicks/key presses. (That said, you could potentially access anything in the grid menu the same way.)
I'm sure there's a way to do it, but I'm not even close to familiar with Razer's scripting possibilities. You should check out their forums, as you'll be more likely to find experts on the software there. As far as AutoHotKey, I've only played with it a little, but it is very powerful. Scripts have been made for more than a variety of games with it both for keypunching and for automation of tasks in the game. I can guarantee you that no matter what peripheral you are using, you can create a script in AHK to map a function to a key/button on it.
DarkNacht wrote:I have a SNES controller rigged up to control Salem so I'm sure you can get a mouse with a few extra keys to work.
You are just going to have to get to know your software better, worse case scenario there should be a way to turn a control profile on manually.
Why? just.... why?