View Single Post
electroaudio's Avatar
Posts: 381 | Thanked: 336 times | Joined on Jan 2011 @ Stockholm, Sweden
#122
Originally Posted by qole View Post
Ah, ok, so you still have the "crazy mouse" problem. That's always been the blocker before. Without a fix for "crazy mouse" this is just a curiosity.
Looking at the crazy mouse in windows it seems like there is a mismatch between what type of data the mousedriver in N900 sends and what type dosbox is expecting.
N900 probably sends screenpositions while dosbox interprets them as mouseticks.

-I think this should be very easy to fix by the dosbox mantainers, just convert the screenpositions to mousemovements.

I think that the absolute easiest way to do it would be to set up two variables for X-old and Y-old and then subtract the new X and Y from N900 with the old values, giving the mouse-ticks that Dosbox wants as a result. and then store the new X and Y as old X and Y to the next mouseread.