in reply to Re^3: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console
I am sure that there is a way to make Win32::Console do what you want, I just don't know how. I think this is a case where the documentation is just not very good. However, Perl Tk GUI's work great. There will be more support here for Tk GUI than for low level console stuff. I commented just this day about the Tk TableMatrix object in another thread.
It could be that this is what is called an "X Y" problem. You are asking how to do X, but what you really need to know is how to do Y. There are various formulations of this situation. Since you are talking about mouse clicks, some more detail about how you envision your interface working would be helpful. there are all kinds of zoomy GUI things like drop down context sensitive things (i.e. right click ala Windows menus) that are possible.
It could even perhaps be that your code becomes more simple and no polling loop is required.
Out of curiosity, where does this 16 buttons come from? I've never seen a Windows mouse with more than 3, but perhaps that exists with some sort of special thing for a gaming control?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Unable to capture mouse events in Win32::Console
by Fletch (Bishop) on Apr 26, 2022 at 20:02 UTC | |
|
Re^5: Unable to capture mouse events in Win32::Console
by fireblood (Scribe) on Apr 26, 2022 at 21:15 UTC |