Sorry, but that's not quite what I'm after. Trying to come up with a good way to alias any mouse button to any control.
With the keyboard, I can store keycodes in global variables (or an array) and then have "On keycode (keycode_foo) pressed" events. When these are true, I set a global var to 1. So
On keycode Keycode_Attack pressed:
Set ControlDown_Attack to true
However, there is no equivalent "On mouse button (mousecode_foo) pressed" action. Instead I have to do:
On left/middle/right click
With the keycode solution, I know what the user is trying to do by the name of the keycode var, and I know they are pressing the right key by evaluating it's value. But...how do I handle that for the mouse? All I can tell is when the the different mouse buttons are down...I have to figure out what said buttons are supposed to do with other logic.
I can think of a couple ways to do it, with functions or groups, but my approaches seem overly complicated. I can't help but think "Ockham's razor...you are missing something."