After having found little to no help on using an XBOX 360 (or alike) controllers in GML on the internet, i decided to make this to show what buttons, analog sticks and triggers do and how they can be read, includes 2 boring trig scripts so you don't have to keep copying and pasting code, as well a a range script i find useful.
all buttons and functions are included and if needed explained in the draw function (cos i'm lazy like that)