added support for SDL_Window API but it is disabled by default until SDL
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Feb 2011 18:02:16 +0000 (18:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 26 Feb 2011 18:02:16 +0000 (18:02 +0000)
commit9c1bbca9041207578a33745d9bbf89ae2b1146ed
tree4abcc81974cfdcf66c2946cd19a094a8cf69ff05
parent0af6863552b327a7799982ffbb44035bbd22228f
added support for SDL_Window API but it is disabled by default until SDL
1.3 is more mature (this API's mouse input seems to be broken on Linux)
rewrote MapKey to use a switch statement on the actual SDLK_ enum values
rather than a lookup table (the lookup table did not work with SDL 1.3
events because SDLK_ values changed)
added vid_touchscreen cvar as part of mobile device support

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10867 d7cf8633-e32d-0410-b094-e92efae38249
keys.h
vid.h
vid_sdl.c
vid_shared.c