Reply To: GUI Tailored to small TFTs?

Home Forums Forums General discussion GUI Tailored to small TFTs? Reply To: GUI Tailored to small TFTs?

#4095
heatvent
Participant

Hi Tim… I am not aware of any framework…. And I would love to know also.

However, I did write up some information on how to create some virtual buttons on the screen to control the GPIO. This writes directly to the framebuffer, so no X is required;

https://ozzmaker.com/2013/09/10/controlling-the-gpio-on-a-raspberry-pi-with-a-touchscreen/

I have been thinking of updating it for PiScreen and cleaning the code up a bit. I’m not sure if anyone would be interested.

Mark, I would be interested in using this. Probably in a slightly different way. Rather than controlling LED's, it would be great if the buttons could be used to execute scripts. For example, I am using gphoto2 to copy photos off a SD card to a USB drive. I would like to trigger the script to copy photos by pressing a button, then return back to the buttons once executed. Also having a button to properly shutdown the pi would be useful.

Hi!

Blip, blop, bloop...