Raspberry Pi Touchscreen Click Not Working with G4P GUI Builder

edited March 2016 in Raspberry PI

Hello, I designed a touchscreen GUI using G4P on the Raspberry Pi, and I have tried two different Adafruit touchscreens, but both delivered the same inability to click the buttons. When I press on the buttons, they momentarily change color as they do when I click with the mouse( I should add that the program works perfectly with a mouse), but the Button_Click event function fails to change the parameter inside. Inside the Void Button_Click is just a boolean statement x=!x. When I tried running the examples included with G4P, they seemed to run fine with the touchscreen. Lastly I tried just making a 1 button GUI with G4P Gui builder, and the same issue occurs. If I press the button in rapid succession, it will sometimes change. If anyone can help me with this it would be greatly appreciated.

Tagged:
Sign In or Register to comment.