D
Darren
Guest
Is there a way I can make the gamepad axis appear as if it were "pressed" so that when I push up on my gamepad it doesn't madly scroll through my menu?
I've used Shaun Spaldings tutorial on menus and so far I have the code below
var move = 0;
move -= max(keyboard_check_pressed(vk_up), keyboard_check_pressed(ord("W")), gamepad_axis_value(0,gp_axislv) > 0,0);
move += max(keyboard_check_pressed(vk_down), keyboard_check_pressed(ord("S")), gamepad_axis_value(0,gp_axislv) < 0,0);
how can I fake the axis going above an amount to act like a pressed button?
I've used Shaun Spaldings tutorial on menus and so far I have the code below
var move = 0;
move -= max(keyboard_check_pressed(vk_up), keyboard_check_pressed(ord("W")), gamepad_axis_value(0,gp_axislv) > 0,0);
move += max(keyboard_check_pressed(vk_down), keyboard_check_pressed(ord("S")), gamepad_axis_value(0,gp_axislv) < 0,0);
how can I fake the axis going above an amount to act like a pressed button?