It isn't slow, i don't want to say the technic that I use before posting my little lib, but it's very simple :-) and dynamic, you can change change the binding during the game if you want (replace a key by a joy axis if want, or mouse button by a key...) all you want :-)
I do it, because i have enought to choice between mousehit or keyhit or have, or write a very longue line like this
if mousehit(1) or keyhit(157) or etc ....
I do it, because i have enought to choice between mousehit or keyhit or have, or write a very longue line like this
if mousehit(1) or keyhit(157) or etc ....