Legacy GM Help Replacing Mouse Movement with Xbox Right Stick

D

dawson2223

Guest
Hey,

I want to add Xbox One controller support, but I can't find anything on how to get the right thumbstick movement to replace the mouse x and y movement. My game is a shooter and right now I have a reticle showing where the mouse is pointing. I want to replace the mouse with the controller so as I move the right thumbstick, the reticle will move. Anyone know how? Or a video that shows how?

Thanks,

Nick
 
H

Humphrey M

Guest
I already saw that video, it doesn't discuss what I'm trying to do.
Sorry my bad. Im not sure how you would be able to move the mouse itself, id suggest making your own artificial cursor in gamemaker and instead of testing for mouse_x and mouse_y test the position of that cursor object. You could do a test to see whether the controller was being used or not and if not show the normal cursor perhaps.
 
Top