I'm running tv.giphy.com on my RPi, which shows random (or not) GIFs in full screen mode. I run the website in Cromium's kiosk mode. I have a PiTFT with 4 incorporated buttons and I would like to use one of these buttons to automatically save the image/GIF that I'm looking at on RPI's memory (SD card).
Could you help me/direct me to some documentation as to how to set up PiTFT's buttons? I can't seem to find anything relevant.
I just bought my first RPI less than 2 weeks ago and I'm a complete noob, but I'm getting really excited about all the possibilities :)
Thank you in advance.