Mats Löfdahl
2017-11-29 10:40:57 UTC
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?
"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?