I have a push button connected to the raspberry pi GPIO and it works.
My code is
How do I get the click of the button to act as a left mouse click? So that when I click on my button it registers as a left click.
Code: Select all
import Rip.GPIO as GPIO GPIO.setmode (GPIO.BOARD) GPIO.setup (16,GPIO.IN) finally: GPIO.cleanup ()
Any help would be appreciated.