I have a weird issue that when just crouching down with the sniperrifle and not pressing any keys or moving the mouse, the zoom will disengage after a second or two.
It seems SDL is erroneously generating a KEYUP-event for LCTRL for whatever reason. I have a workaround:
SDL_GetModState() seems to return the state correctly. I didn't create a PR since I fear it might just be my system that is behaving weird. So, do you get this, too?
I have a weird issue that when just crouching down with the sniperrifle and not pressing any keys or moving the mouse, the zoom will disengage after a second or two. It seems SDL is erroneously generating a KEYUP-event for LCTRL for whatever reason. I have a workaround:
SDL_GetModState()
seems to return the state correctly. I didn't create a PR since I fear it might just be my system that is behaving weird. So, do you get this, too?