Discussion:
CURSOR without mouse
(too old to reply)
Mats Löfdahl
2017-11-29 10:40:57 UTC
Permalink
From the CURSOR documentation:

"CURSOR normally waits until a mouse button is pressed (or already down). If no mouse buttons are present, CURSOR waits for a key on the keyboard to be pressed."

and

"When CURSOR returns, the button field of the system variable !MOUSE is set to the button status. Each mouse button is assigned a bit in the button field. Bit 0 is the leftmost button (value = 1), bit 1 is the middle button (value = 2), and bit 3 is the rightmost button (value = 4) for the typical three-button mouse."

So when you don't have a mouse (or the mouse is not sensed by IDL because of a deficient remote connection), are there keyboard keys that emulate the different mouse buttons? What key would correspond to which mouse button?
alx
2017-11-29 15:25:10 UTC
Permalink
Post by Mats Löfdahl
"CURSOR normally waits until a mouse button is pressed (or already down). If no mouse buttons are present, CURSOR waits for a key on the keyboard to be pressed."
and
"When CURSOR returns, the button field of the system variable !MOUSE is set to the button status. Each mouse button is assigned a bit in the button field. Bit 0 is the leftmost button (value = 1), bit 1 is the middle button (value = 2), and bit 3 is the rightmost button (value = 4) for the typical three-button mouse."
So when you don't have a mouse (or the mouse is not sensed by IDL because of a deficient remote connection), are there keyboard keys that emulate the different mouse buttons? What key would correspond to which mouse button?
In Windows system, I know that you can turn on and off the so-called "Mouse Keys" by using the leftALT-leftSHIFT-NUMLOCK combination. The Mouse keys are the numeric keys on the NUMERIC keypad (if you have one ...).
But I never had used this.
alx.
l***@gmail.com
2017-12-06 11:09:59 UTC
Permalink
Hello there

Continue reading on narkive:
Loading...