Improve handling of High-DPI mice

- Reduce lower bound of mouse sensitivity
 - Add error accumulators to prevent small motions from being rounded off
This commit is contained in:
Jameson Ernst
2022-09-14 22:11:32 -07:00
parent 5996854ff5
commit 84f5d9c393
6 changed files with 15 additions and 5 deletions

View File

@@ -136,6 +136,7 @@ extern int is_pentium; /* TODO: Move back to cpu/cpu.h when it's figured out,
how to remove that hack from the ET4000/W32p. */
extern int fixed_size_x, fixed_size_y;
extern double mouse_sensitivity; /* (C) Mouse sensitivity scale */
extern double mouse_x_error, mouse_y_error; /* Mouse error accumulators */
extern int pit_mode; /* (C) force setting PIT mode */
extern int fm_driver; /* (C) select FM sound driver */