kburkhart84
Firehammer Games
I'm working on my kbinput extension...I'm seeing that the gp_shoulderlb and gp_shoulderrb axes are actually set up as buttons in GMS's input code. I had it understood that these are axes, not just buttons. If I try to use that constant with the axis checking function, it instead checks the left horizontal axis for the left shoulder button/axis. But when I check the buttons, I get a good 0/1 value for the button.
So, is there something I'm missing, or something GMS isn't doing right? I was expecting to get a decimal value between 0 and 1 depending on how far those buttons are depressed(they are axes after all). In the windows control panel, it has them combined as a single Z axis, where pushing the left makes it go positive and pushing the right makes it go negative, which is actually the behavior that happens when using DInput instead of XInput for these gamepads.
So, is there something I'm missing, or something GMS isn't doing right? I was expecting to get a decimal value between 0 and 1 depending on how far those buttons are depressed(they are axes after all). In the windows control panel, it has them combined as a single Z axis, where pushing the left makes it go positive and pushing the right makes it go negative, which is actually the behavior that happens when using DInput instead of XInput for these gamepads.