Bug 6071 - SDL2: Backspace doesn't work in UI
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: Macintosh All
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-11-26 03:33 EST by Zack Middleton
Modified: 2013-11-26 18:06:00 EST
0 users

See Also:


Attachments
revert cl_keys.c to master and add char event for backspace (1.15 KB, patch)
2013-11-26 03:33 EST, Zack Middleton
revert cl_keys.c to master and add ctrl-h char event for backspace (1.15 KB, patch)
2013-11-26 03:59 EST, Zack Middleton

Description Zack Middleton 2013-11-26 03:33:38 EST
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).
Comment 1 Zack Middleton 2013-11-26 03:59:17 EST
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.