Thanks, I managed to get the basic functionality of my script working. I have one more question though. In my GlovePIE script I had set up some functions to perform after a button on the Xbox 360 controller was held for a period of time (200ms), do you know if there is a way to do this in FreePIE?
The code that worked for me in GlovePIE was as follows
Code: Select all
mouse.MiddleButton = Released(XInput.A) and not Released(HeldDown(XInput.A, 200ms))
keyboard.V = HeldDown(XInput.A, 200ms)
From messing around in FreePIE it doesn't look as if there are any key states for the Xbox360 controller like there are for the keyboard (getKeyDown, getPressed etc) so I am at a loss on how to implement something like that in FreePIE.