Datasheet

On my first run of startx I get a window saying "GDBus Error.org.Freedesktop Policy Kit1 Error: Failed Cannot
determine user of subject"
This happens on the Raspberry Pi the first time you run startx, no matter what display. You can just re-start X and it
wont appear again.
Can I get a right-click from the touch-screen?
Yes! Please see this post:
https://forums.adafruit.com/viewtopic.php?f=47&t=77528&p=393280#p393322
I'm having difficulties with the STMPE resistive touch screen controller
Here's a hack for the device tree overlay that can force different SPI modes, sometimes that helps!
My PiTFT's rotation/calibration isn't working in X11
X11 (the graphical system) has changed how it gets touchscreen input, so if you rotate the display and the calibration
isn't being picked up:
Check /usr/share/X11/xorg.conf.d for a file called 10-evdev.conf
If you don't see that file
1. You need to sudo apt-get install xserver-xorg-input-evdev , and then...
2. If you do have a 40-libinput.conf in that same directory, you must remove it even if/once evdev is installed,
since it will override the 10-evdev.conf otherwise.
Thanks to cerebrate in the forums for the hint!
© Adafruit Industries https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-resistive-touchscreen-mini-kit Page 35 of 63