Created attachment 3399[details]
revert cl_keys.c to master and add char event for backspace
Using the sdl2 branch, backspace does not work in Q3A or Team Arena ui's text fields (such as player name).
VMs expect a char event, but sdl2 branch only sends a key event. Console was fixed to use key event in sdl2 branch, and has to be revert if readding char event (otherwise it backspaces twice).
Created attachment 3400[details]
revert cl_keys.c to master and add ctrl-h char event for backspace
Use CTRL('h') instead of '\b' like the original code, they are both the same value though.
Created attachment 3399 [details] revert cl_keys.c to master and add char event for backspace Using the sdl2 branch, backspace does not work in Q3A or Team Arena ui's text fields (such as player name). VMs expect a char event, but sdl2 branch only sends a key event. Console was fixed to use key event in sdl2 branch, and has to be revert if readding char event (otherwise it backspaces twice).
Created attachment 3400 [details] revert cl_keys.c to master and add ctrl-h char event for backspace Use CTRL('h') instead of '\b' like the original code, they are both the same value though.