VOGONS

Common searches


First post, by Wilz

User metadata

How do I disable the mouse completely in dosbox?

Reply 3 of 7, by priestlyboy

User metadata
Rank Oldbie
Rank
Oldbie

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.

Reply 4 of 7, by only2sea

User metadata
Rank Newbie
Rank
Newbie

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. 😁

Reply 6 of 7, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

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++;