Can you point out for a good language to be used in Linux to do the things listed in the title ?

In Windows i use AutoHotKey to do so....but have no clue what can i use in native Linux....i know that i could use IronAHK in native Linux but that uses mono and i want to avoid it at all costs....

My goal is to transfer to Linux my Mouse+Gamepad software to play in native games on Linux...you can check out some more info about that Windows software at: http://ajsb.no.sapo.pt

This is not a simple QJoyPad or Joy2Key it does aq lot more stuff including some keys do more than one thing according to circumstances (all LEGIT and PB/VAC compatible....NO key sequences, macros, aimbot,etc.)

Site include some videos