Liam Earles
Member
Hey guys! I am currently trying to code gamepad controls to "emulate" the keyboard events. This is an example of a code of what I'm trying to do:
What I'm trying to do is that I am trying to make a separate object to be as the "controller" for the player object who already has keyboard events to basically jump, move and do other things, but I'm having a hard time doing it right. Let me know if you have a solution!
Code:
gamepad_button_check_pressed(0, gp_face1)
keyboard_check(ord('X'))