VOGONS


Disable the Mouse

Topic actions

First post, by citapinc

User metadata
Rank Newbie
Rank
Newbie

I have a DOS application that does not use the mouse at all, so I want to disable it all together. Right now when a user clicks on the DOS application the mouse disappears and we have to press CTRL-F10 to get it back.

Is there a setting in the conf file where I can just totally disable the mouse so if the user clicks on the program the mouse doesn't disappear?

Reply 1 of 1, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

You can set autolock=false in the configuration file if you do not want autolock.
To uninstall mouse driver, you need an enhanced SVN build. (http://www.dosbox.com/wiki/SVN_Builds) "MOUSE /U" should work.
Alternatively, you may make some code modifications (case 0x21: /* Software Reset */) in mouse.cpp to totally disable it.