Where is leftButton/rightButton variables in imageJ macro?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Where is leftButton/rightButton variables in imageJ macro?

moosekaka
Hi,

I am trying to extend the getCursorLoc() function in imageJ macro to include other keys, other than just the default Shift,Ctrl,Alt, leftButton,rightButton found in the getCursorLoc demo. Where can I find the where these variables are stored in imageJ? For example how do I add Spacebar?

I have figured out that the flags are additive, eg if Shift=1,leftButton=16, than Shift+left button returns 17 on the flag variable. Problem is that Alt button inteferes with some functions on the ROImanager and I need a way to get around this. thanks!