Just use key_pressed(x) and a variable with the scancode. That's easier