Title: SDL 1.2.13 + Tim Angus' patch Post by: jessicaRA on January 16, 2009, 05:36:23 AM hi, i was messing around with sdl and 'may' have fixed the mouse input in the process.
compiled dll: http://jessicara.co.uk/src/dl/SDL-1.2.13-hopefullyfixed.zip (http://jessicara.co.uk/src/dl/SDL-1.2.13-hopefullyfixed.zip) his patch: http://bugzilla.libsdl.org/attachment.cgi?id=271 (http://bugzilla.libsdl.org/attachment.cgi?id=271) it doesn't seem to compile as is but i added a line to src/video/windx5/SDL_dx5video.c Code: const DIDATAFORMAT c_dfDIMouse2 = { 24, 16, 0x00000002, 16, 7, PTR_fmt }; which is just a copy of Code: const DIDATAFORMAT c_dfDIMouse = { 24, 16, 0x00000002, 16, 7, PTR_fmt }; renamed to c_dfDIMouse2. before those changes i noticed any keyboard key pressed would make the mouse jitter and loose events but after it appears to stay smooth, i tried it myself online and offline. but there is a possible catch.. when ioquake3 is involved usually mouse input either sucks for good mice or sucks for cheap mice. if someone with a cheap or old below 100hz polling rate mouse could test it i would appreciate it. it would be nice for mouse input to not suck a lot for the high and low ends of mice. Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: jessicaRA on January 16, 2009, 09:20:38 AM this seems to break in_mouse 1?
Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: fufinha on January 16, 2009, 09:32:29 AM I've not seen or heard of this hack before. I did notice the pattern with people who had expensive mice were worst affected
I even intentionally did not say anything to people before playing for the first time and first thing they would say was 'wtf the mouse' :D I use a normal persons mouse and I do notice some degree of mouse sucking but i guess they just hope people will get used to it. I use the in_mouse 2 binary.. best one i found out of all the ones i tried. good luck with this, i hope there is a final fix for this Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: epicgoo on January 16, 2009, 03:49:17 PM how does one patch tim angus?
Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: jessicaRA on January 17, 2009, 02:34:19 AM how does one patch tim angus? thats the name of who submitted the patch. i guess it seems a step in the right direction for in_mouse -1.. too bad it breaks in_mouse 1. Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: jessicaRA on March 25, 2009, 07:25:50 AM try 2 'appears' to completely fix up in_mouse 1 and in_mouse -1(for me at least...). although i would expect there to be some reason why this patch isnt actually commited to their svn.. http://jessicara.co.uk/src/dl/SDL.zip (http://jessicara.co.uk/src/dl/SDL.zip)
patched from revision 4067 with http://bugzilla.libsdl.org/attachment.cgi?id=271 (http://bugzilla.libsdl.org/attachment.cgi?id=271) Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: Case on March 25, 2009, 07:50:38 AM I didn't know you knew C, so thats where all these hacked dlls are coming from :) j/k
I also noticed the use of perl on your site maybe you could write a debhelper script for me :) Title: Re: SDL 1.2.13 + Tim Angus' patch Post by: jessicaRA on June 17, 2009, 06:41:40 AM I didn't know you knew C, so thats where all these hacked dlls are coming from :) j/k I also noticed the use of perl on your site maybe you could write a debhelper script for me :) sorry for the late reply, could private message me with what you need and i'll see if i can get some free time. about sdl, http://www.ioquake3.org/files/SDL.dll appears to fix it better so meow. seems better at dealing with variable fps this dll when i tried it. |