First post, by Wilz
How do I disable the mouse completely in dosbox?
How do I disable the mouse completely in dosbox?
recompile the source.
Water flows down the stream
How to ask questions the smart way!
Ouch - coming from the highest authority that probably means that there isn't such an option yet huh. Thanks 😀
yeah, if somebody wants to. They could take the offer and see if they can make a patch that can turn on/off the mouse. Since it's not a major thing on the list.
Ieremiou
----------
Helping Debug DOSBox.
I need that feature too. Some DOS applications automatically check mouse and set it as input device. Unfortunately, when they set mouse it doesn't support keyboard input. Not a clever applications...
I'd appreciate if it's possible. 😁
As stated above, grab the sources, modify them accordingly
and recompile them.
Use my build or another one which includes "More parameters support in internal commands". Hit "mouse /u" on command prompt (dosbox).
Or you can recompile dosbox with a patch below
--- ./src/ints/mouse.cpp Tue Apr 11 01:57:02 2006
+++ ./src/ints/mouse.cpp Tue Apr 11 01:55:38 2006
@@ -619,10 +620,13 @@
case 0x00: /* Reset Driver and Read Status */
mouse_reset_hardware(); /* fallthrough */
case 0x21: /* Software Reset */
+// Disables mouse
+/*
reg_ax=0xffff;
reg_bx=MOUSE_BUTTONS;
mouse_reset();
Mouse_AutoLock(true);
+*/
break;
case 0x01: /* Show Mouse */
mouse.shown++;
That surely creates interesting problems as the mouse is still
revectored on the video mode changes.