I'm trying to make it so that you can use any key as a modifier instead of just alt, control and shift but
is_action_pressed doesn't seem to work here like I'd hope, what am I doing wrong?
var oldscancode1 = 0
var oldscancode2 = 0
var oldscancode3 = 0
var keycombo = ""
if event is InputEventKey:
#if 2nd key is still held move it to be 3rd
oldscancode3 = oldscancode2
#if 1st key is still held move it to be 2nd
oldscancode2 = oldscancode1
oldscancode1 = event.scancode
keycombo = str(oldscancode3) + str(oldscancode2) + str(oldscancode1)