Pages: [1]
  Print  
Author Topic: SDL 1.2.13 + Tim Angus' patch  (Read 13264 times)
jessicaRA
Lesser Nub


Cakes 16
Posts: 115


Wild pony spotted derping around oasago2.


« 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
his patch: 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.
Logged
jessicaRA
Lesser Nub


Cakes 16
Posts: 115


Wild pony spotted derping around oasago2.


« Reply #1 on: January 16, 2009, 09:20:38 AM »

this seems to break in_mouse 1?
Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #2 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' Cheesy

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
Logged
epicgoo
Member


Cakes 5
Posts: 203


« Reply #3 on: January 16, 2009, 03:49:17 PM »

how does one patch tim angus?
Logged
jessicaRA
Lesser Nub


Cakes 16
Posts: 115


Wild pony spotted derping around oasago2.


« Reply #4 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.
Logged
jessicaRA
Lesser Nub


Cakes 16
Posts: 115


Wild pony spotted derping around oasago2.


« Reply #5 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

patched from revision 4067 with http://bugzilla.libsdl.org/attachment.cgi?id=271
Logged
Case
Member


Cakes -3
Posts: 175



WWW
« Reply #6 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 Smiley j/k
I also noticed the use of perl on your site maybe you could write a debhelper script for me Smiley
« Last Edit: March 25, 2009, 08:34:52 AM by Case » Logged
jessicaRA
Lesser Nub


Cakes 16
Posts: 115


Wild pony spotted derping around oasago2.


« Reply #7 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 Smiley j/k
I also noticed the use of perl on your site maybe you could write a debhelper script for me Smiley

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.
Logged
Pages: [1]
  Print  
 
Jump to: