Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:14 20 May 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : GUI mouse usage

Author Message
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 487
Posted: 05:06am 20 May 2026
Copy link to clipboard 
Print this post

Hi all,

I have a question regarding the usage of the mouse with the GUI subsystem. From what I unserstand it should be possible to use a mouse with various PicoMite firmware versions. The GUI subsystem should be available as well except for the HDMI and VGA versions.

I've taken a look at the "Advanced Graphics Functions for the PicoMite Firmware" manual and found references to the mouse usage at page 25.

  Quote  X = Mouse(x,1)
Y = Mouse(y,1)
Lb = Mouse(l,1)
lasttime = Timer
Gui Cursor x,y


as well as a reference on page 22 saying
  Quote  CLICK(DOWN) Will return true if the screen is currently being clicked on using the mouse.
which fails with e.g. "ERROR : UP is not declared"

As far as I have tried it out, the mouse() functions are not implemented in this way but can be replaced with decive() functions.
The "GUI CURSOR" I did not find anywhere.

I think it would be great if the mouse usage would be integrated into the GUI subsystem or, at least, there would be a possibility to "transfer" the current coordinated of the mouse position and mouse click action (like up/down) into the GUI subsystem for further processing.  IMHO basically everything is already there, except this integration.

Or is there a way to do so which I havent found out yet or isn't documented?


Thanks,
Gerald
                                                                 
73 de OE1HGA, Gerald
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5883
Posted: 06:49am 20 May 2026
Copy link to clipboard 
Print this post

Hi Gerald,

The GUI subsystem is not in VGA and HDMI builds, only in microcontroller builds.
The Mouse implementation in PM is to the user to engineer in your own GUI. The only direct implementation is in the built in editor.

So you can build your own GUI, and implement the mouse in it.

Volhout

There is value in this, because HDMI screen resolutions will not show beautiful GUI elements that are designed on 320x240 screens. And only very few systems actually implement the mouse.
PicomiteVGA PETSCII ROBOTS
 
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 487
Posted: 12:04pm 20 May 2026
Copy link to clipboard 
Print this post

Volhout,

thanks for your answer. I'm fully aware that HDMI and VGA builds do not contain the GUI subsystem. What I ment is the fact that there are builds with GUI and mouse capabilities. So I thougt there could be an easy way, besides engineering my own GUI,  to include the mouse functions into the existing GUI. But you have made it clear to me, it's not.

Gerald
                                                                 
73 de OE1HGA, Gerald
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026