haekb / nolf2-modernizer

NOLF 2 Modernizer aims to unlock resolution support, restore multi-player support, and fix a few bugs here and there.
https://haekb.itch.io/nolf2-modernizer
30 stars 4 forks source link

Bugs/33 mouse not working right #34

Closed haekb closed 4 years ago

haekb commented 4 years ago

Hopefully fixes #33

Something in Lithtech Jupiter conflicts with SDL2's method of getting raw input. I've known this for a while, but swapped it to mouse warping. However on some machines this method doesn't actually work...

So while testing I noticed Jupiter wouldn't cut out raw input from external applications. So I built a DLL to do all the mouse stuff. Very annoying, but it works.

haekb commented 4 years ago

Oooor not. Turns out I still had mouse warping enabled. Oops.

I'll need to convert the SDL2 mouse code, to my own raw input solution. Not too hard since I already made a proof of concept app.

haekb commented 4 years ago

This isn't the best solution.