]> git.xonotic.org Git - xonotic/darkplaces.git/commit
implemented support for Windows XInput (using different keys/cvars to allow non-confl...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 18 May 2011 13:18:43 +0000 (13:18 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 18 May 2011 13:18:43 +0000 (13:18 +0000)
commit5737591d891d69836735abb645a1b173baaabe96
treee7dcbf96b62513939fea145b16d6273a620eff87
parent2625b75211299dbaff3e97e4d864e3b67117048a
implemented support for Windows XInput (using different keys/cvars to allow non-conflicting configs) in vid_shared.c, usable in WGL and SDL clients on Windows
redesigned joystick code to encode any joystick data into a vid_joystate_t struct and use a common code path for all handling of axes and button events (also rewrote joy_axiskeyevents as part of this)
changed joystick deadzone handling to make values start at 0 at the edge of the deadzone
removed legacy joystick code in vid_wgl.c because it was too annoying to maintain
removed some hacky SDL 1.3 iOS code that is no longer needed

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