First post, by superfury
UniPCemu currently tries to convert the movement in pixels to either mm(for PS/2 mouse emulation) or whole mickeys(for the serial mouse).
I'm currently wondering about something. For some reason, both seem to move the mouse in Windows and the i430fx Pentium BIOS in a too big of a range? Moving it left or right just a little nudge will move the mouse cursor on the screen left/right/up/down by a lot(it looks like about 8 pixels)? The PS/2 mouse dots/mm setting is actually setup for 8 dots/mm. Would that be correct behaviour? Or should it move less when less than a mm is moved?
What happens with the movement(in pixels by the mouse) is the following:
- movement is first converted to mm using a dots-to-mm factor, depending on the SDL_getDisplayDPI result(which is 25.4/DPI).
- Said movement (in mm) is added to the mm distance moved for the PS/2 mouse.
- Said movement is converted to mickeys using a simple formula and added to the mickey distance for the serial mouse( ((((mm))/25.4)*200.0) ).
Would those formulas be correct? Both devices only receive the amount of mm and mickeys in whole units(so 1.5 becomes 1, -1.5 becomes -1 etc.).
Anyone?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io