Gigiux
Posts: 42
Joined: Wed Apr 10, 2019 7:28 pm

Problem using touchscreen with Kivy on Raspberry

Fri Jul 17, 2020 8:25 pm

Hello,
I have written a code with python3/kivy to handle a touchscreen. Using the touchscreen of a PC/Chromebook, the code works but on Raspberry it doe not. If I set the dimensions of the buttons with proportional sizes (so that the size ratio is maintained regardless of the monitor), it looks like the buttons don't work at all. If I set the dimensions using strict sizes (so the script is optimized for a single monitor), the buttons work a bit better but are offset: If I press button A, let's say, it is b]button B that is activated.
I don't know if the proportional/strict dimensions really make a difference, but the problem is the offset. When I use the touch screen with Raspian GUI, everything works fine.
Are there some settings that I overlooked?
Thank you

Return to “General discussion”