Thomas: In DOS, only one program at a time can control the mouse.  It will 
either be MOUSKEYS or it will be the other program, but it can't be both at the 
same time.  If a program already interfaces with the mouse, it is usually 
better to let the program control the mouse since it can change what the mouse 
does based on the current context the program is in.  If you want MOUSKEYS to 
control the mouse instead of the program, you will need to disable the mouse in 
the program (if the program will let you do that -- some programs will and 
others won't). Also, MOUSKEYS doesn't actually send any keystrokes when you 
press a mouse key -- it only types keystrokes when you release a mouse key.  It 
does this for timing reasons.  For example, if you want to press both mouse 
keys at the same time but don't press them at EXACTLY the same time MOUSKEYS 
may not do what you want it to do.  USB has a similar situation -- only one 
piece of software can be controlling a particular USB host controller at a 
time.  This will usually either be the BIOS or it will be something like 
USBUHCI, but it can't be both at the same time.  Each UHCI USB Host Controller 
has two ports, and each additional host controller will add two more ports.  
You can also add additional ports with USB Hubs.  If you have more than one USB 
Host Controller, one can be controlled by the BIOS and the other by USBUHCI. If 
your keyboard and your drive are both plugged into the same USB Host 
Controller, either the BIOS will control both devices or USBUHCI will control 
both.  If you need USBUHCI to control the keyboard by taking control away from 
the BIOS, you will need to start USBUHCI with a batch file that installs both 
USBUHCI and USBKEYB at the same time.  If you don't do that, as soon as USBUHCI 
installs itself the keyboard being controlled by the BIOS will stop working so 
you can't use the keyboard to install USBKEYB.  If you have a batch file 
install both programs at the same time, your keyboard will work when the batch 
file finishes. --
Bret JohnsonIt's oft been said that the Devil is in the Details.  I disagree 
completely.  I say God is in the Details -- the Devil is in the Fluff. 

---------- Original Message ----------
From: Thomas Desi <t...@mttw.at>
To: bretj...@juno.com
Cc: "Discussion and general questions about FreeDOS." 
<freedos-user@lists.sourceforge.net>
Subject: Re: [Freedos-user] CTMouse Buttons programming?
Date: Sat, 17 Apr 2021 12:46:27 +0200

Hello  Bret,
 allow me to ask you, the author of »mouskeys« and am I right the »usbutils" 
(usb drivers for dos) two questions?  1) Some DOS Programs (text editors) seem 
to »override« the mouskeys settings (what is summarized in "mouskeys /t«). 
Is there a trick to obey to mouskeys.com? - I am not able to have the 
»CONTROL« on the Right Mousbutton. (mouskeys/t looks nice, saying »Scancode 
29« - which might be CONTROL, - I tried a couple of editors (e3, vde, TE216, 
EVE, Neâ&euro;¦) Does »holding« the button fire many repeated keyresses? Is 
that so? Could the »repeat rate" be changed or set to »no repeat«? Same goes 
to »ALT«. I would want to press CONTROL on the Right Mouse Button (/BR:Cntrl) 
 and whilst holding press a key on my keyboard which makes for a command. I 
tried with my USB-keyboard (which works fine) and a PS/2 keyboard. To no 
avail.(On FreeDos) Any hint whatâ&euro;&trade;s wrong? 2) Talking of USB, the 
USB driver from usbutils in my case stops the keyboard working.(As the warning 
in the program says) -  I guess there is no way out to use the usbdrive.com 
without a proper usb keyboard driver installed beforehand? Right? No chance? 
Any chance to find out what driver my keyboard would need or is it generic or 
just outdated? (Or I am just not getting it right.) best regards, Thomas

On Tue,20210413- week15, at 15:07, Bret Johnson <bretj...@juno.com> 
wrote:Thomas: Glad you were able to find something that works. And also thanks 
for the encouragement with the documentation -- it takes a lot of time and 
effort to write documentation and good to know it's appreciated.

____________________________________________________________
Choose to be safer online.
Opt-in to Cyber Safety with NortonLifeLock.
Plans starting as low as $6.95 per month.*
 NetZero.com/NortonLifeLock _______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

____________________________________________________________
Choose to be safer online.
Opt-in to Cyber Safety with NortonLifeLock.
Plans starting as low as $6.95 per month.*
https://store.netzero.net/account/showService.do?serviceId=nz-nLifeLock&utm_source=mktg&utm_medium=taglines&utm_campaign=nzlifelk_launch&utm_content=tag995&promoCode=A23457
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to